
Druckansicht von http://www.php-homepage.de/manual/function.strptime.php
Beschreibung
array strptime
( string
$date
, string $format
)
strptime() returns an array with the
Month and weekday names and other language dependent strings respect the
current locale set with setlocale() ( Parameter-Liste
Rückgabewerte
Returns an arrayIm Fehlerfall wird
Beispiele
Beispiel #1 strptime() example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
03/10/2004 15:54:19
Array
(
[tm_sec] => 19
[tm_min] => 54
[tm_hour] => 15
[tm_mday] => 3
[tm_mon] => 9
[tm_year] => 104
[tm_wday] => 0
[tm_yday] => 276
[unparsed] =>
)
Anmerkungen
Siehe auch
|