©
本文档使用 PHP中文网手册 发布
(PHP 5 >= 5.2.0, PHP 7)
DateTimeZone::getName -- timezone_name_get — Returns the name of the timezone
面向对象风格
过程化风格
$object
)Returns the name of the timezone.
object
The DateTimeZone for which to get a name.
One of the timezone names in the list of timezones.