DateTimeZone::getLocation
PHP 5 >= 5.3.0, PHP 7, PHP 8
DateTimeZone::getLocation - Returns location information for a timezone
Code Examples
Example #1 DateTimeZone::getLocation example
Result: Array
(
[country_code] => CZ
[latitude] => 50.08333
[longitude] => 14.43333
[comments] =>
)
Array
(
[country_code] => CZ
[latitude] => 50.08333
[longitude] => 14.43333
[comments] =>
)