# file\_mod\_datetime

**URL:** https://community.mp3tag.de/t/file-mod-datetime/9423
**Category:** Support
**Created:** [November 26, 2009, 2:15pm UTC](https://community.mp3tag.de/t/file-mod-datetime/9423 "2009-11-26T14:15:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![a.muehli](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@a.muehli](https://community.mp3tag.de/u/a.muehli)
#### Post date: [November 26, 2009, 2:15pm UTC](https://community.mp3tag.de/t/file-mod-datetime/9423/1 "2009-11-26T14:15:51Z")

</div>

is it possible that the command:  
%\_file\_mod\_datetime%  
creates the date in format:  
JJJJ.MM.DD

because of german windows settings the command delivers DD.MM.JJJJ

thanks for help

greetings  
muehli

---

<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: [November 26, 2009, 3:57pm UTC](https://community.mp3tag.de/t/file-mod-datetime/9423/2 "2009-11-26T15:57:21Z")

</div>

> [@a.muehli](#):
>
> is it possible that the command:  
> %\_file\_mod\_datetime% creates the date in format: JJJJ.MM.DD ...

Your first choice is ... to set up your windows regional date setting to ISO 8601 standard ...

 ![](https://community.mp3tag.de/uploads/default/original/2X/1/1cb17a81785f6877644a6cd84d638118f8865c00.jpg)  
  
[http://de.wikipedia.org/wiki/ISO\_8601](http://de.wikipedia.org/wiki/ISO_8601)

Your second choice is ... to use Mp3tag scripting functions to re-combine the %\_file\_mod\_datetime% value into a sortable string ... e. g.  
$regexp(%\_FILE\_MOD\_DATETIME%,'^(\d\d).(\d\d).(\d\d\d\d).+$','$3.$2.$1')  
from:  
26.11.2009 05:16:08  
to  
2009.11.26

DD.20091126.1805.CET

 ![](https://community.mp3tag.de/uploads/default/original/2X/1/1cb17a81785f6877644a6cd84d638118f8865c00.jpg)

---

<div class="post-metadata">

### Author: ![a.muehli](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@a.muehli](https://community.mp3tag.de/u/a.muehli)
#### Post date: [November 27, 2009, 7:39am UTC](https://community.mp3tag.de/t/file-mod-datetime/9423/3 "2009-11-27T07:39:49Z")

</div>

thanks for your help!!!

---

<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: [February 9, 2026, 12:21pm UTC](https://community.mp3tag.de/t/file-mod-datetime/9423/4 "2026-02-09T12:21:59Z")

</div>


