# Date tag from DD.MM.YYYY to YYYY.MM.DD

**URL:** <https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857>\
**Category:** Support\
**Created:** [February 4, 2021, 3:17pm UTC](https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857 "2021-02-04T15:17:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pasi](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@Pasi](https://community.mp3tag.de/u/Pasi)\
**Post date:** [February 4, 2021, 3:17pm UTC](https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857/1 "2021-02-04T15:17:57Z")

</div>

I seriously need help with this issue. All my music has been tagged with "date" tag in format DD.MM.YYY, so f.ex. 05-10-1990. I now noticed, that several music player programs do not seem to understand the year, as it's tagged in the end. I would need to batch change all my music to YYYY.MM.DD. I tried strings, but am not well versed in them. Could someone help?

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [February 4, 2021, 3:21pm UTC](https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857/2 "2021-02-04T15:21:24Z")

</div>

What about this?

> [@Find date in the file name and change format](https://community.mp3tag.de/t/find-date-in-the-file-name-and-change-format/18839):
>
> I have several thousand MP3 files of various radio shows in which the broadcast date is part of the filename. I would like include this date in the DATE field of the ID3v2.3 tag. The dates are all in in different positions of the filename - some are at the beginning, some in the end and others in the middle of the name. Is it possible to extrapolate those dates and copy them to the DATE field? Also, how can I accurately change the format from dd.mm.yyyy to yyyy mm dd? I found a previous top…

---

<div class="post-metadata">

**Author:** ![Pasi](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@Pasi](https://community.mp3tag.de/u/Pasi)\
**Post date:** [February 4, 2021, 3:27pm UTC](https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857/3 "2021-02-04T15:27:03Z")

</div>

Hi thanks for the link. The format in the link that had problem seemed to be MM.DD.YYYY. I tried $regexp(%year%,(\d\d).(\d\d).(\d\d\d\d),$3.$1.$2). It will then show YYYY.DD.MM. However, I am still unable to get YYYY.MM.DD.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [February 4, 2021, 3:29pm UTC](https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857/4 "2021-02-04T15:29:34Z")

</div>

Just swap $1 and $2 😉  
`$regexp(%year%,(\d\d).(\d\d).(\d\d\d\d),$3.$2.$1)`

---

<div class="post-metadata">

**Author:** ![Pasi](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@Pasi](https://community.mp3tag.de/u/Pasi)\
**Post date:** [February 4, 2021, 3:30pm UTC](https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857/5 "2021-02-04T15:30:37Z")

</div>

Right you are thank you so much! You saved me countless hours.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [March 6, 2021, 3:31pm UTC](https://community.mp3tag.de/t/date-tag-from-dd-mm-yyyy-to-yyyy-mm-dd/51857/6 "2021-03-06T15:31:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
