PHP » GoLang |
login |
register |
about
|
GoLang IntlDateFormatter::getTimeType
request it (324)
GoLang replacement for PHP's IntlDateFormatter::getTimeType
[edit | history]
PHP IntlDateFormatter::getTimeTypePHP original manual for IntlDateFormatter::getTimeType [ show | php.net ]IntlDateFormatter::getTimeTypedatefmt_get_timetype(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::getTimeType -- datefmt_get_timetype — Get the timetype used for the IntlDateFormatter DescriptionObject oriented style
public int IntlDateFormatter::getTimeType
( void
)
Procedural style Return time type used by the formatter. Parameters
Return ValuesThe current date type value of the formatter. ExamplesExample #1 datefmt_get_timetype() example
<?php Example #2 OO example
<?php 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
|
more
Recently updated
more
Most requested
more
Last requests
|