(PHP 5 >= 5.2.0)
DateTimeZone::getName -- timezone_name_get — Returns the name of the timezone
面向对象风格
过程化风格
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.