localtime
localtime
(PHP 4, PHP 5, PHP 7)
localtime — Get the local time
Description
array localtime ([ int $timestamp = time() [, bool $is_associative = false ]] )
The localtime() function returns an array identical to that of the structure returned by the C function call.
Parameters
-
timestamp
-
The optional
timestamp
parameter is an 登录查看完整内容