php - In date_sun_info() what is Transit -
php - In date_sun_info() what is Transit -
i understand meaning of sun transit time takes sun move sunrise position sunset position date_sun_info() transit seems homecoming midpoint in day sun between sunrise , sunset position.
$sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333); foreach ($sun_info $key => $val) { echo "$key: " . date("h:i:s", $val) . "\n"; }
the above illustration output:
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
transit time sun passes on observer's meridian. midday sundial @ longitude happen at. clock midday , solar midday quite different , suspect time given utc, although guess not explained in manual , expect this give result nearer 12:00, although haven't had time check calculation properly.
it may person wrote function did not understand term 'transit' person wrote date_sunrise() , date_sunset() functions did not understand term 'zenith'.
php
Comments
Post a Comment