|
date_sunriseReturns 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 Parameters
Return Values
Returns the sunrise time in a specified Errors/Exceptions
Every call to a date/time function will generate a Changelog
Examples
Example #1 date_sunrise example
<?php The above example will output something similar to: Mon Dec 20 2004, sunrise time : 08:54 See Also
|