|
date_sun_infoReturns an array with information about sunset/sunrise and twilight begin/end Beschreibung
array date_sun_info
( int
$time
, float $latitude
, float $longitude
)Parameter-Liste
Rückgabewerte
Returns array on successIm Fehlerfall wird Beispiele
Beispiel #1 A date_sun_info example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: sunrise: 05:52:11 sunset: 15:41:21 transit: 10:46:46 civil_twilight_begin: 05:24:08 civil_twilight_end: 16:09:24 nautical_twilight_begin: 04:52:25 nautical_twilight_end: 16:41:06 astronomical_twilight_begin: 04:21:32 astronomical_twilight_end: 17:12:00 Siehe auch
|