[time-nuts] GPS week rollover

Tom Van Baak tvb at LeapSecond.com
Wed May 6 10:50:54 EDT 2015


> Whats useful is the method for calculating the week mentioned. Granted
> there are tools online that help. But the math associated with reversing
> the date now is clearer using the Julian date. May tinker in excel as I
> think there are date macros and such available.
> The output needed for the old receivers is now - 1024 weeks given as a date.
> On some of the really old ones I think it may be 2 rollovers at this point.
> 
> Regards
> Paul
> WB8TSL

Paul, there's lots of JD/MJD and GPS date time code at www.leapsecond.com/tools/
Look for gpsweek.c gpsdate.c gpsepoch.c mjd.c mjdclock.c to name a few.

To plan ahead for the next century try this:

C:\tvb\cl> gpsweek 1980 2100 | grep rollover
1023    0       1023    1999-08-15      227     228     229     230     231     232     233     rollover
2047    1       1023    2019-03-31      90      91      92      93      94      95      96      rollover
3071    2       1023    2038-11-14      318     319     320     321     322     323     324     rollover
4095    3       1023    2058-06-30      181     182     183     184     185     186     187     rollover
5119    4       1023    2078-02-13      44      45      46      47      48      49      50      rollover
6143    5       1023    2097-09-29      272     273     274     275     276     277     278     rollover

/tvb


More information about the time-nuts mailing list