Skip to content
ggodart edited this page Jan 6, 2021 · 6 revisions

SunTime_mh

See original

SYNOPSIS

DESCRIPTION

Results can be checked with: http://aa.usno.navy.mil/AA/data/docs/RS_OneYear.html Broken link

INHERITS

INI PARAMETERS

METHODS

Method Description
sun_time sun_time takes: type => 'rise' or 'set'
latitude
longitude
time_zone => hours from GMT
date => date parsable by Time::ParseDate::parsedate()
time => to feed to localtime

AUTHOR

SEE ALSO

NOTES/BUGS

09/03/00 :: winter Make ParseDate optional. It is overkill and I could not get it to compile in perl2exe. It gave runaway comment errors :( 10/12/00 :: winter Change time_zone check to defined, to allow for time_zone 0 06/02/01 :: winter Moved from mh/site/lib/Astro and renamed from SunTime.pm to avoid picking up old non-mh versions.

Clone this wiki locally