Return the name of the timezone:
The timezone_name_get() returns the name of the timezone.
Parameter | Description |
---|---|
object | Required. Specifies a DateTimeZone object |
Return Value: | Returns a timezone name from the list of timezones |
---|---|
PHP Version: | 5.2+ |