timezone_location_get

Its an  alias of DateTimeZone::getLocation()and  returns location information for a timezone
Example

<?php
echo “<pre>”;
$timezone = new DateTimeZone(“Australia/Perth”);
print_r(timezone_location_get($timezone));
?>

Output

Array
(
[country_code] => AU
[latitude] => -31.95
[longitude] => 115.85
[comments] => Western Australia – most locations
)

Share