Datum mit strftime konvertieren
Ich möchte ein Datum mit strftime konvertieren
Hallo,
ich möchte ein Datum mit strftime konvertieren.
Ausgangsformat ist YYYY-MM-DD, Zielformat ist "%a, %d.%m.%Y'
Funktioniert leider nicht, da er nicht das Ursprungsdatum verwendet sondern den 01. 01. 1970 .
ich möchte ein Datum mit strftime konvertieren.
Ausgangsformat ist YYYY-MM-DD, Zielformat ist "%a, %d.%m.%Y'
$datum = strftime('%a, %d.%m.%Y',$datum);
Funktioniert leider nicht, da er nicht das Ursprungsdatum verwendet sondern den 01. 01. 1970 .
Please also mark the comments that contributed to the solution of the article
Content-Key: 122897
Url: https://administrator.de/contentid/122897
Printed on: May 5, 2024 at 01:05 o'clock
3 Comments
Latest comment
Lies dir mal die komplette seite durch:
http://at2.php.net/manual/de/function.strftime.php
Da steht ein bisschen was brauchbares drinnen
http://at2.php.net/manual/de/function.strftime.php
Da steht ein bisschen was brauchbares drinnen