PHP » GoLang |
login |
register |
about
|
GoLang IntlDateFormatter::setTimeZoneId
request it (337)
GoLang replacement for PHP's IntlDateFormatter::setTimeZoneId
[edit | history]
PHP IntlDateFormatter::setTimeZoneIdPHP original manual for IntlDateFormatter::setTimeZoneId [ show | php.net ]IntlDateFormatter::setTimeZoneIddatefmt_set_timezone_id(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::setTimeZoneId -- datefmt_set_timezone_id — Sets the time zone to use Warning
This function was DEPRECATED in PHP 5.5.0, and REMOVED in PHP 7.0.0. Alternatives to this function include: DescriptionObject oriented style
public bool IntlDateFormatter::setTimeZoneId
( string
$zone
)Procedural style Sets the time zone to use. Parameters
Return Values
Returns Changelog
ExamplesExample #1 datefmt_set_timezone_id() example
<?php Example #2 OO example
<?php The above example will output: timezone_id of the formatter is : America/Los_Angeles Now timezone_id of the formatter is : CN See Also
|
more
Recently updated
more
Most requested
more
Last requests
|