# Format String Year

**URL:** https://community.mp3tag.de/t/format-string-year/61838
**Category:** Allgemein
**Created:** [August 16, 2023, 8:00pm UTC](https://community.mp3tag.de/t/format-string-year/61838 "2023-08-16T20:00:23Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 16, 2023, 8:16pm UTC](https://community.mp3tag.de/t/format-string-year/61838/2 "2023-08-16T20:16:40Z")

</div>

Es gibt eine Variable %\_datetime%, die das vollständige Datum der aktuellen Systemzeit ausgibt, also z.B. 16.08.2023 22:13:23  
Das Format der Systemzeit ist abhängig von den Systemeinstellungen.  
Ggf. musst du da noch was umstellen und abschneiden.

Ich möchte in diesem Zusammenhang darauf hinweisen, dass YEAR gem. ID3-Norm nur 4 Ziffern lang ist. Längere Angaben führen mindestens zu einem ungültigen Format, ggf. zu Problemen im Abspieler.

Für das längere Datum würde sich statt YEAR das Feld RELEASETIME anbieten.

Hier ist ein Thread mit einem Beispielausdruck, wie man Ziffern umstellen kann:

> [@ID-Tag mit komplettem Datum](https://community.mp3tag.de/t/id-tag-mit-komplettem-datum/10821/8):
>
> Damit müsste es gehen: $regexp("STRING VON DANO",(.\*)-(.\*)-(.\*),$3.$2.$1) "STRING VON DANO" bitte mit dem Formatstring von Dano ersetzen, der funktioniert. mfG gnor

---

_[View the full topic](https://community.mp3tag.de/t/format-string-year/61838)._
