PHP » GoLang |
login |
register |
about
|
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 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 Example #2 No sunrise
<?php The above example will output: bool(false) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|