Create a new DateTimeZone object, then return the name of the timezone:
The timezone_open() creates a new DateTimeZone object.
Parameter | Description |
---|---|
timezone | Required. Specifies a timezone Tip: Look at a list of all supported timezones in PHP |
Return Value: | Returns the DateTimeZone object on success. FALSE on failure |
---|---|
PHP Version: | 5.2+ |