Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login
(PHP 3>= 3.0.7, PHP 4 , PHP 5)
Es handelt sich um eine Schnittstelle zum Systemaufruf von gettimeofday(2). Die Zeitangaben werden als assoziatives Array zurück gegeben. Folgende Arrayelemente sind vorhanden:
"sec" - Sekunden
"usec" - Microsekunden
"minuteswest" - Minuten westlich von Greenwich
"dsttime" - Art der Korrektur der Sommerzeit
Beispiel 1. gettimeofday() Beispiel
<?phpprint_r(gettimeofday());?>
Das Ergebnis sieht so ähnlich wie folgt aus:
Array ( [sec] => 1073687692 [usec] => 934726 [minuteswest] => -60 [dsttime] => 0 )
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account
Document on this page is part of "PHP Handbuch". See Index Page for more info about Authorship and Copyright.
1999-2005 Linuxinfor.com. No rights reserved.