Date/Time
PHP Manual

timezone_open

(PHP 5 >= 5.1.0)

timezone_open — Returns new DateTimeZone object

说明

DateTimeZone timezone_open ( string $timezone )
DateTimeZone DateTimeZone::__construct ( string $timezone )

参数

timezone

Time zone identifier as full name (e.g. Europe/Prague) or abbreviation (e.g. CET).

返回值

Returns DateTimeZone object on success or FALSE on failure.


Date/Time
PHP Manual