date_sunrise

 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.

戻り値

Returns the sunrise time in a specified format on success or FALSE on failure.