|
date_sunsetReturns time of sunset for a given day and location Beschreibung
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 Parameter-Liste
Fehler/ExceptionsJeder Aufruf der Datums- und Zeitfunktionen
generiert eine Changelog
Rückgabewerte
Returns the sunset time in a specified Beispiele
Beispiel #1 date_sunset example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Mon Dec 20 2004, sunset time : 18:13 Siehe auch
|