|
IntlDateFormatter::getTimeTypedatefmt_get_timetypeGet the timetype used for the IntlDateFormatter DescriptionObject-oriented style
public intfalse IntlDateFormatter::getTimeType()
Procedural style intfalse datefmt_get_timetype(IntlDateFormatter
$formatter )Return time type used by the formatter. Parameters
Return Values
The current date type value of the formatter,
or ExamplesExample #1 datefmt_get_timetype example
Example #2 OO example
The above example will output: timetype of the formatter is : 0 First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT Now timetype of the formatter is : 3 Second Formatted output is Wednesday, December 31, 1969 4:00 PM See Also
|