Monday, 26 August 2013

PHP Function localtime()

Syntax

array localtime ( [int $timestamp [, bool $is_associative]] );

Definition and Usage

The localtime() function returns an array identical to that of the structure returned by the C function call.

Paramters

ParameterDescription
timestampOptional. This is an integer Unix timestamp that defaults to the ctm_min] => 3 [tm_hour] => 19 [tm_mday] => 3 [tm_mon] => 3 [tm_year] => 105 [tm_wday] => 0 [tm_yday] => 92 [tm_isdst] => 1 )

No comments:

Post a Comment