英文官方描述如下:
Key Description
sec Seconds since midnight before January 1, 1970
usec Microseconds since the sec value
minuteswest
Local time zone difference from GMT, in minutes
dsttime 1 iff daylight savings time is in effect,
0 iff not.
<?php $Now = gettimeofday(); echo "As an associative array:n"; foreach ($Now as $Key => $Value) { echo "$Key => $Valuen"; } ?>
输出结果如下:
sec => 1261918156 usec => 724964 minuteswest => 0 dsttime => 0
希望本文所述对大家的php程序设计有所帮助。
友情提示:垃圾评论一律封号 加我微信:826096331拉你进VIP群学习群