|
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 string $value to a field-based time value ( an array of various fields), starting at $parse_pos and consuming as much of the input value as possible. Parameters
Return Values
Localtime compatible array of integers : contains 24 hour clock value in tm_hour field,
or 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
|