timezone_open
(PHP 5 >= 5.1.0)
timezone_open — 新しい DateTimeZone オブジェクトを返す
説明
DateTimeZone timezone_open
( string $timezone
)
DateTimeZone DateTimeZone::__construct
( string $timezone
)
パラメータ
- timezone
-
タイムゾーンを表す正式名 (例: Europe/Prague) あるいは略称 (例: CET)。
返り値
成功した場合に DateTimeZone オブジェクト、失敗した場合に FALSE を返します。