PHP timezone_location_get() Function
PHP Date/Time Reference Manual
Example
Return location information for a specified time zone:
Run Example »
Definition and Usage
timezone_location_get() returns location information for a specified time zone.
Syntax
timezone_location_get
(object);
| Parameters | Description |
|---|---|
| object | Required. Specifies a DateTime object returned by timezone_open() A DateTimeZone object returned. |
Technical Details
| Return Value: | Returns an array containing location information about the time zone. |
|---|---|
| PHP Version: | 5.3+ |
PHP Date/Time Reference Manual