©
Ce document utilise Manuel du site Web PHP chinois Libérer
(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.