PHP timezone_location_get() Function

PHP Date/Time Reference : Return location information for the given timezone

Definition and Usage

The timezone_location_get() returns location information for the given timezone.

Syntax

timezone_location_get(object)

Parameter Values

Parameter Description
object Required. Specifies a DateTimeZone object returned by timezone_open()

Technical Details

Return Value: Returns an array that contains location information for the timezone
PHP Version: 5.3+

❮ PHP Date/Time Reference