HP Forums

Full Version: A revised Sunrise/Sunset program
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
(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...?read=1246) uses GMT so it's not affected by DST.

Best regards.
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.
(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.
(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.
Reference URL's