getdate — 取得日期/时间信息-----参数是一个 integer 的 Unix 时间戳
<?php
$today = getdate();
print_r($today);
?>
Array
(
[seconds] => 40
[minutes] => 58
[hours] => 21
[mday] => 17
[wday] => 2
[mon] => 6
[year] => 2003
[yday] => 167
[weekday] => Tuesday
[month] => June
[0] => 1055901520
)

浙公网安备 33010602011771号