The way I do it in my monitors is I convert the date to Julian date, add 1024 weeks and convert back to calendar. That automatically fixes the leap years.
There is a fair amount of juggling depending on wether you want to correct the GPS offset but doing it from a Julian date is considerably easier than anything else I could think of. Didier KO4BB On Wed, Apr 10, 2019, 11:00 AM Björn <[email protected]> wrote: > Hi Thomas, > > Sent from my iPhone > > > On 10 Apr 2019, at 09:46, Thomas Allgeier <[email protected]> wrote: > > > [...] > > > So, as a frequency standard (which is what I use it for) it still works, > but the date info on the serial port is useless, as is the Arduino module I > built to display date and time on the front panel... > > If you control the programming of the Arduino you can add 1024 weeks to > the year/date and you should have a proper front panel display again. > > /Björn > > _______________________________________________ > time-nuts mailing list -- [email protected] > To unsubscribe, go to > http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com > and follow the instructions there. > _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com and follow the instructions there.
