DateTimeZone::getLocationtimezone_location_getReturns location information for a timezone DescriptionObject-oriented style
public arrayfalse DateTimeZone::getLocation()
Procedural style arrayfalse timezone_location_get(DateTimeZone
$object )Returns location information for a timezone, including country code, latitude/longitude and comments. Parameters
Return Values
Array containing location information about timezone or Examples
Example #1 DateTimeZone::getLocation example
The above example will output: Array ( [country_code] => CZ [latitude] => 50.08333 [longitude] => 14.43333 [comments] => ) Array ( [country_code] => CZ [latitude] => 50.08333 [longitude] => 14.43333 [comments] => ) See Also
|