(PHP 5 >= 5.3.0, PHP 7)
DateTimeZone::getLocation -- timezone_location_get — ������ʱ����صĶ�λ��Ϣ��
���������
���̻����
������ʱ����صĶ�λ��Ϣ���������Ҵ��룬γ��/���Ⱥͽ��͡�
���飬������ʱ����صĶ�λ��Ϣ��
Example #1 DateTimeZone::getLocation() �����ķ�����
<?php
$tz = new DateTimeZone("Europe/Prague");
print_r($tz->getLocation());
print_r(timezone_location_get($tz));
?>
�������̻������
Array ( [country_code] => CZ [latitude] => 50.08333 [longitude] => 14.43333 [comments] => ) Array ( [country_code] => CZ [latitude] => 50.08333 [longitude] => 14.43333 [comments] => )