time-nuts@lists.febo.com

Discussion of precise time and frequency measurement

View all threads

Re: Samsung-Symmetricom GPSDO Rollover Problem

HM
Hal Murray
Mon, Nov 11, 2024 6:39 AM

The unit runs, but it has the March 2004 rollover date problem.

Why do you care if the date is off?  The 10 MHz and PPS will be accurate.
The only problem is that the date/time on the serial port will be off.
What are you plugging it in to?

If your software is turning the date/time into POSIX format or similar
seconds since X, then it's only 2 lines of code to fix.  NTP software is
likely to have the fix already.

If you are "just" displaying the date/time, are you converting to local
time?  With something like an Arduino, the simplest way to convert to
local time is probably to find a time conversion package, then convert
from UTC YYYYMMDDHHMMSS format to POSIX, then convert from POSIX to local
time.  If that's what you are doing, all you need to do is insert the 2
lines of code while the time is in POSIX format.

--
These are my opinions.  I hate spam.

> The unit runs, but it has the March 2004 rollover date problem. Why do you care if the date is off? The 10 MHz and PPS will be accurate. The only problem is that the date/time on the serial port will be off. What are you plugging it in to? If your software is turning the date/time into POSIX format or similar seconds since X, then it's only 2 lines of code to fix. NTP software is likely to have the fix already. If you are "just" displaying the date/time, are you converting to local time? With something like an Arduino, the simplest way to convert to local time is probably to find a time conversion package, then convert from UTC YYYYMMDDHHMMSS format to POSIX, then convert from POSIX to local time. If that's what you are doing, all you need to do is insert the 2 lines of code while the time is in POSIX format. -- These are my opinions. I hate spam.