|
IntlDateFormatter::localtimedatefmt_localtimeParse string to a field-based time value DescriptionObject-oriented style
public arrayfalse IntlDateFormatter::localtime(string
$string, int &$offset = null)Procedural style arrayfalse datefmt_localtime(IntlDateFormatter
$formatter, string $string, int &$offset = null)
Converts Parameters
Return Values
An associative array of integers whose keys are those of
localtime, with the hour given on a 24-hour clock in
ExamplesExample #1 datefmt_localtime example Example #2 OO example The above example will output: First parsed output is tm_sec : 0 , tm_min : 0 , tm_hour : 16 , tm_year : 69 , tm_mday : 31 , tm_wday : 3 , tm_yday : 365 , tm_mon : 11 , tm_isdst : 0 , See Also
|