IntlDateFormatter
Das Datum in der Datenbank liegt im Format 2023-03-19 07:18:22 vor.
Ein Code soll das Datum jetzt ohne Verwendung von setlocale
so umwandeln, das es komplett in Deutsch zu so einer Ausgabe kommt.
Am Sonntag, den 19. März 2023 um 07:18 Uhr
strftime Deprecated
Ab PHP 8.1 erscheint bei Verwendung der Funktion strftime()
ein PHP Deprecated Hinweis al´a:
Function strftime() is deprecated
22022022
22.02.2022 Ein Palindrom-Datum!
Wo wir gerade beim Datum sind, ab PHP 9 fliegt die Funktion strftime()
raus, daher brauchen wir eine Alternative.
Kurz Notiert!