# writing file creation date to tag with this format : YYYYMMDD (year, month, day)

**URL:** https://community.mp3tag.de/t/writing-file-creation-date-to-tag-with-this-format-yyyymmdd-year-month-day/11174
**Category:** Support
**Created:** [November 23, 2010, 4:58pm UTC](https://community.mp3tag.de/t/writing-file-creation-date-to-tag-with-this-format-yyyymmdd-year-month-day/11174 "2010-11-23T16:58:37Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [November 23, 2010, 5:16pm UTC](https://community.mp3tag.de/t/writing-file-creation-date-to-tag-with-this-format-yyyymmdd-year-month-day/11174/2 "2010-11-23T17:16:24Z")

</div>

~~**%\_file\_create\_date%** gives you DD.MM.YYYY not DD/MM/YYYY~~

**$regexp(%\_file\_create\_date%,(..)/(..)/(....),$3$2$1)** gives you YYYYMMDD like you want it.

Edit:  
How to write it into a tag:  
Action: Format Value  
Field: YEAR  
Format String: $regexp(%\_file\_create\_date%,(..)/(..)/(....),$3$2$1)

---

_[View the full topic](https://community.mp3tag.de/t/writing-file-creation-date-to-tag-with-this-format-yyyymmdd-year-month-day/11174)._
