timezone_open
(PHP 5 >= 5.1.0)
timezone_open — Returns new DateTimeZone object
Description
DateTimeZone timezone_open
( string $timezone
)
DateTimeZone DateTimeZone::__construct
( string $timezone
)
Parameters
- timezone
-
Time zone identifier as full name (e.g. Europe/Prague) or abbreviation (e.g. CET).
Return values
Returns DateTimeZone object on success or FALSE on failure.