# Extract weekdays and month names from timestamp

**URL:** https://community.mp3tag.de/t/extract-weekdays-and-month-names-from-timestamp/13512
**Category:** Support
**Created:** [June 3, 2012, 7:28am UTC](https://community.mp3tag.de/t/extract-weekdays-and-month-names-from-timestamp/13512 "2012-06-03T07:28:59Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [June 7, 2012, 9:29am UTC](https://community.mp3tag.de/t/extract-weekdays-and-month-names-from-timestamp/13512/6 "2012-06-07T09:29:24Z")

</div>

> [@LaurenBacall](#):
>
> ... **2.** I'm trying to set a limit to the number of exported $loop entries. Using the format: $loop(%fieldname%,num) as stated in the help documents doesn't appear to work, ...

See also ...  
[/t/13519/1](https://community.mp3tag.de/t/13519/1)

I do not think, that the second parameter 'num' within the function '$loop(%fieldname%,num)' can control the number of loops.  
The documention description may be incorrect.

I understand the second parameter as a boolean switch, which allows only two values 0 or 1.  
The documention description may be incorrect.

$loop(%fieldname%,0) ...  
... allows each item from the item list to be processed.

$loop(%fieldname%,1) ...  
... allows only the first item of ambiguous items from the item list to be processed.  
... restricts the focus to the first item of a group of items with the same value.

DD.20120607.1328.CEST

---

_[View the full topic](https://community.mp3tag.de/t/extract-weekdays-and-month-names-from-timestamp/13512)._
