date_sunrise
date_sunrise
(PHP 5, PHP 7)
date_sunrise — Returns time of sunrise for a given day and location
Description
mixed date_sunrise ( int $timestamp [, int $format = SUNFUNCS_RET_STRING [, float $latitude = ini_get("date.default_latitude") [, float $longitude = ini_get("date.default_longitude") [, float $zenith = ini_get("date.sunrise_zenith") [, float $gmt_offset = 0 ]]]]] )
date_sunrise() returns the sunrise time for a given day (specified as a timestamp
) and location.