PHP » GoLang |
login |
register |
about
|
GoLang IntlDateFormatter::getLocale
request it (254)
GoLang replacement for PHP's IntlDateFormatter::getLocale
[edit | history]
PHP IntlDateFormatter::getLocalePHP original manual for IntlDateFormatter::getLocale [ show | php.net ]IntlDateFormatter::getLocaledatefmt_get_locale(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::getLocale -- datefmt_get_locale — Get the locale used by formatter DescriptionObject oriented style
public string IntlDateFormatter::getLocale
([ int
$which
] )Procedural style Get locale used by the formatter. Parameters
Return Valuesthe locale of this formatter or 'false' if error ExamplesExample #1 datefmt_get_locale() example
<?php Example #2 OO example
<?php The above example will output: locale of the formatter is : en First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT locale of the formatter is : de Second Formatted output is Mittwoch, 31. Dezember 1969 16:00 Uhr GMT-08:00 |
more
Recently updated
more
Most requested
more
Last requests
|