HP Forums
A revised Sunrise/Sunset program - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: A revised Sunrise/Sunset program (/thread-20817.html)



A revised Sunrise/Sunset program - Matt Agajanian - 11-10-2023 02:00 AM

Hi all.

Since Daylight Saving Time has shifted to 1st Sunday in November and 2nd Sunday in March, is there a new version of a Sunrise/Sunset program for the 67, 15C, 42S, or 34C, or even the 33S/35S?


RE: A revised Sunrise/Sunset program( - acapde - 11-10-2023 05:21 AM

(11-10-2023 02:00 AM)Matt Agajanian Wrote:  Hi all.

Since Daylight Saving Time has shifted to 1st Sunday in November and 2nd Sunday in March, is there a new version of a Sunrise/Sunset program for the 67, 15C, 42S, or 34C, or even the 33S/35S?

Hi,

This program (https://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=1246) uses GMT so it's not affected by DST.

Best regards.


RE: A revised Sunrise/Sunset program - Dave Britten - 11-10-2023 02:04 PM

Most (all?) of the sunrise/sunset programs I've found either work entirely in UTC, or require you to supply your current time-zone offset to display results in local time, e.g. -5 for EST and -4 for EDT. So DST changes shouldn't be an issue.


RE: A revised Sunrise/Sunset program - Matt Agajanian - 11-10-2023 07:55 PM

(11-10-2023 02:04 PM)Dave Britten Wrote:  Most (all?) of the sunrise/sunset programs I've found either work entirely in UTC, or require you to supply your current time-zone offset to display results in local time, e.g. -5 for EST and -4 for EDT. So DST changes shouldn't be an issue.

Thanks for the 35S version. With 33s, 67, 15C, etc. labels I can easily adapt the program. That way I have all versions.


RE: A revised Sunrise/Sunset program - HP67 - 11-12-2023 02:52 PM

(11-10-2023 02:00 AM)Matt Agajanian Wrote:  Hi all.

Since Daylight Saving Time has shifted to 1st Sunday in November and 2nd Sunday in March, is there a new version of a Sunrise/Sunset program for the 67, 15C, 42S, or 34C, or even the 33S/35S?

Hi,

I have written a few implementations of this one, https://edwilliams.org/sunrise_sunset_algorithm.htm

Seems to match published times.