Re: NTP time with DST and TZ help!!!!
Posted: Fri Oct 23, 2015 8:15 am
GPS lat/lon coordinates translation to DST is problematic as not everyplace utilize DST and not all uses of DST are 1-hour integer! Some locals use DST in increments as small as 15 minutes!
Add to the above the U.S.A. Congress concept of screwing with the dates of implementation/duration and you can understand why so many commercial companies simply make the DST a configurable end-user option... even on the low-cost radio-controlled clocks in department stores.
Calculating Day-Of-Week and other such things are however somewhat simple. I have some routines in my GPS clock code:
http://www.hackster.io/rayburne
Ray
Add to the above the U.S.A. Congress concept of screwing with the dates of implementation/duration and you can understand why so many commercial companies simply make the DST a configurable end-user option... even on the low-cost radio-controlled clocks in department stores.
Calculating Day-Of-Week and other such things are however somewhat simple. I have some routines in my GPS clock code:
http://www.hackster.io/rayburne
Ray