PHP Velho Oeste 2024

실행시 설정

이 함수의 작동은 php.ini 설정에 영향을 받습니다.

Date/Time Configuration Options
이름 기본값 가변성 변경점
date.default_latitude "31.7667" PHP_INI_ALL Available since PHP 5.0.0.
date.default_longitude "35.2333" PHP_INI_ALL Available since PHP 5.0.0.
date.sunrise_zenith "90.583333" PHP_INI_ALL Available since PHP 5.0.0.
date.sunset_zenith "90.583333" PHP_INI_ALL Available since PHP 5.0.0.
date.timezone "" PHP_INI_ALL Available since PHP 5.1.0.
PHP_INI_* 모드에 대한 상세와 정의는 Where a configuration setting may be set를 참고하십시오.

위 설정 지시어에 대한 간단한 설명입니다.

date.default_latitude float

The default latitude.

date.default_longitude float

The default longitude.

date.sunrise_zenith float

The default sunrise zenith.

date.sunset_zenith float

The default sunset zenith.

date.timezone string

The default timezone used by all date/time functions. Prior to PHP 5.4.0, this would only work if the TZ environment variable was not set. The precedence order for which timezone is used if none is explicitly mentioned is described in the date_default_timezone_get() page. See 지원하는 시간대 목록 for a list of supported timezones.

Note: The first four configuration options are currently only used by date_sunrise() and date_sunset().

add a note add a note

User Contributed Notes 1 note

up
0
giababu2000 at yahoo dot com
7 years ago
date.sunrise_zenith - означает угол от солнца во время восхода до зенита (точка на небе ровно над головой наблюдателя). Из-за атмосферы угол обычно чуть больше 90 градусов.

date.sunset_zenith - от солнца во время заката до зенита.
To Top