PHP » GoLang |
login |
register |
about
|
GoLang IntlDateFormatter::setTimeZone
request it (402)
GoLang replacement for PHP's IntlDateFormatter::setTimeZone
[edit | history]
PHP IntlDateFormatter::setTimeZonePHP original manual for IntlDateFormatter::setTimeZone [ show | php.net ]IntlDateFormatter::setTimeZonedatefmt_set_timezone(PHP 5 >= 5.5.0, PHP 7, PECL intl >= 3.0.0) IntlDateFormatter::setTimeZone -- datefmt_set_timezone — Sets formatterʼs timezone DescriptionObject oriented style Procedural style Sets the timezone that will be used when formatting dates or times with this object. Parameters
Return Values
Returns Examples
Example #1 IntlDateFormatter::setTimeZone() examples
<?php The above example will output: NULL Europe/Amsterdam IntlTimeZone Europe/Lisbon DateTimeZone Europe/Paris String Europe/Rome IntlTimeZone Object ( [valid] => 1 [id] => GMT+00:30 [rawOffset] => 1800000 [currentOffset] => 1800000 ) |
more
Recently updated
more
Most requested
more
Last requests
|