Beispiele für so etwas findet man ...
.. oder auch umfassend beschrieben in der WordPress Dokumentation zur Ausgabe von Datum und Uhrzeit, verlinkt in der Antwort #2 hier im Thread.
Etwas eigenes Mitdenken sollte man schon wenigstens versuchen, dafür ist dieses Forum da.
In diesem Fall hätte einfach auch schon nur das Lesen des Links geholfen, dort steht sehr klar:
ZitatThe [FONT=Courier New]date_i18n()[/FONT] function basically behaves like the PHP [FONT=Courier New]date()[/FONT] function, except that it also translates things like month names and weekdays and similar into the current locale for the site. You can replace a call to [FONT=Courier New]date()[/FONT] with a call to [FONT=Courier New]date_i18n()[/FONT], using the same arguments.
Das ist exakt die Antwort auf die ursprüngliche Frage.