PHP timezone_location_get() 함수
예시
주어진 시간대에 대한 위치 정보 반환:
<?php
$tz=timezone_open("Asia/Taipei");
print_r(timezone_location_get($tz));
?>
정의 및 사용
timezone_location_get()은 주어진 시간대에 대한 위치 정보를 반환합니다.
통사론
timezone_location_get(object)
매개변수 값
Parameter | Description |
---|---|
object | Required. Specifies a DateTimeZone object returned by timezone_open() |
기술적 세부 사항
반환 값: | 시간대에 대한 위치 정보가 포함된 배열을 반환합니다. |
---|---|
PHP 버전: | 5.3+ |
❮ PHP 날짜/시간 참조