DateTimeZone::getLocation

PHP 5 >= 5.3.0, PHP 7, PHP 8
DateTimeZone::getLocation - Returns location information for a timezone
Manual
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] => )
PHP Version:


Function DateTimeZone::getLocation:

Date and Time Functions

Most used PHP functions