update : 2015.11.03
php.shukuma.com검색:
|
DateTimeZone::getLocationtimezone_location_get(PHP 5 >= 5.3.0, PHP 7) DateTimeZone::getLocation -- timezone_location_get — Returns location information for a timezone 설명객체 기반 형식
public array DateTimeZone::getLocation
( void
)
절차식 형식 Returns location information for a timezone, including country code, latitude/longitude and comments. 반환값Array containing location information about timezone. 예제
Example #1 DateTimeZone::getLocation() example
<?php 위 예제의 출력: Array ( [country_code] => CZ [latitude] => 50.08333 [longitude] => 14.43333 [comments] => ) Array ( [country_code] => CZ [latitude] => 50.08333 [longitude] => 14.43333 [comments] => ) |