DateTimeZone
PHP 手册

DateTimeZone::getName

(PHP 5 >= 5.2.0)

DateTimeZone::getNameReturns the name of the timezone

说明

public string DateTimeZone::getName ( void )

Returns the name of the timezone.

参数

This function has no parameters.

返回值

One of timezones.


DateTimeZone
PHP 手册