[ntp:questions] GPS-UTC Leap Corrections

cjc yheffen at gmail.com
Fri May 8 19:08:13 UTC 2009

On May 6, 4:33 pm, John Hasler <j... at dhh.gt.org> wrote:
> 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.

A better way to think of it is that a leap second will be handled in
the same
way a _change_ to DST is. And if you remember the very recent changes
to the start/stop dates all around the world in the last few years,
you also
remember what fun that is.

More information about the questions mailing list