[ntp:questions] GPS-UTC Leap Corrections

John Hasler john at dhh.gt.org
Wed May 6 23:33:53 UTC 2009


rob writes::
> Depending on where you want to see that UTC value, you could maybe define
> a UTC timezone with a 15 second offset.
> Of course time() would still return GPS, but the displayed time in
> applications would be UTC.

Hal Murray writes:
> That would get, um interesting, when a leap second kicks in.

Leap seconds could be handled the same way DST is.  You just structure your
zonefile such that the 15 seconds becomes 16 after the effective date of
the leap second.
-- 
John Hasler 
john at dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA




More information about the questions mailing list