| Manuál PHP | ||
|---|---|---|
| Předcházející | Další | |
date_sunrise
Popis
mixed date_sunrise ( int timestamp [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]] )
date_sunrise() returns the sunrise time for a given
day (specified as a timestamp) and location.
Seznam parametrů
timestampThe
timestampof the day from which the sunrise time is taken.formatlatitudeDefaults to North, pass in a negative value for South. See also: date.default_latitude
longitudeDefaults to East, pass in a negative value for West. See also: date.default_longitude
zenithDefault: date.sunrise_zenith
gmtoffsetSpecified in hours.
Errors/Exceptions
Every call to a date/time function will generate a E_NOTICE
if the time zone is not valid, and/or a E_STRICT message
if using the system settings or the TZ environment
variable. See also date_default_timezone_set()
Příklady
| Předcházející | Domů | Další |
| date_sun_info | Nahoru |