PHP » GoLang |
login |
register |
about
|
date_sunset(PHP 5, PHP 7) date_sunset — Returns time of sunset for a given day and location Description
mixed date_sunset
( 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.sunset_zenith")
[, float $gmt_offset = 0
]]]]] )
date_sunset() returns the sunset time for a given
day (specified as a Parameters
Errors/Exceptions
Every call to a date/time function will generate a Changelog
Return Values
Returns the sunset time in a specified Examples
Example #1 date_sunset() example
<?php The above example will output something similar to: Mon Dec 20 2004, sunset time : 18:13 Example #2 No sunset
<?php The above example will output: bool(false) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|