PHP » GoLang |
login |
register |
about
|
GoLang IntlDateFormatter::getDateType
request it (323)
GoLang replacement for PHP's IntlDateFormatter::getDateType
[edit | history]
PHP IntlDateFormatter::getDateTypePHP original manual for IntlDateFormatter::getDateType [ show | php.net ]IntlDateFormatter::getDateTypedatefmt_get_datetype(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::getDateType -- datefmt_get_datetype — Get the datetype used for the IntlDateFormatter DescriptionObject oriented style
public int IntlDateFormatter::getDateType
( void
)
Procedural style Returns date type used by the formatter. Parameters
Return ValuesThe current date type value of the formatter. ExamplesExample #1 datefmt_get_datetype() example
<?php Example #2 OO example
<?php The above example will output: datetype of the formatter is : 0 First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT Now datetype of the formatter is : 2 Second Formatted output is 12/31/69 4:00:00 PM PT See Also
|
more
Recently updated
more
Most requested
more
Last requests
|