(34S) - Sunrise/Sunset
|
02-15-2015, 07:57 PM
(This post was last modified: 02-15-2015 08:01 PM by Dieter.)
Post: #17
|
|||
|
|||
RE: WP 34S - Sunrise/Sunset
(02-13-2015 02:19 PM)Jeff O. Wrote: Your DST routine was easy to modify (assuming I did it correctly) to implement the DST rules followed in the US (and Canada The code looks OK. The two XEQ 01 calls return the last Sunday in October resp. in February, adding 7 resp. 14 days gives the first (second) Sunday in November (March). Only the comment in the code needs an update: Code: 228 #007 I would like to ask a final question: the accuracy for 2015 is astonishing. But what about other years? I assume the program uses constants that are optimized for a certain period. How well does the program perform for e.g. 2000, 2050 or 2100? What is the range of years the used constants were optimized for? Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)