DateTimeZone::getLocation
PHP 5 >= 5.3.0, PHP 7, PHP 8
DateTimeZone::getLocation - Returns location information for a timezone
Manual
DateTimeZone::getLocation(
): public array|false
Procedural style
arrayfalsetimezone_location_get DateTimeZoneobjectParameters
- object
Procedural style only: A DateTimeZone object returned by timezone_open
Return Values
Array containing location information about timezone or false on failure.