tobold.org

correct • elegant • free

△ uk.misc △

◅ Going to the Dome?

Unix books for eejits. ▻

Going to the Dome?

In article <7kdgh9$gle@axalotl.demon.co.uk>,
Huge <huge@nospam.demon.co.uk> wrote:
>>Sad, isn't it?  That's why my Unix boxes now tick TAI...
>                                                   ^^^
>
>Wozzat?

Temps Atomique International, or International Atomic Time.  It's UTC
without leap seconds.  (Actually, that's the wrong way round, since TAI
is more fundamental.)

Currently the difference between TAI and UTC is 33 seconds; next time
there is a (positive) leap second, it will increase to 34 seconds, and
so on.

The advantage of using TAI at the time_t level is that it monotonically
increases at a constant rate.  This means that timestamps are unique,
and that clock synchronization doesn't need to do anything special for
leap seconds.

Leaps seconds have to be handled somewhere, of course, but the Olson
timezone package can easily be configured to do this.

The result is a clean separation: the computer sees a clock which
behaves in the way you'd naively expect a clock to behave; humans see
the right time.

Tim.
--
Tim Goodwin   | `I can't believe that someone is releasing
University of | something called "Unix" without something
Leicester, UK | called "/bin/sh".' -- Randal L. Schwartz

Original headers:

From: tjg@ltpcg.star.le.ac.uk (Tim J Goodwin)
Newsgroups: uk.misc
Subject: Re: Going to the Dome?
Date: 21 Jun 1999 13:19:19 +0100
Organization: University of Leicester, UK
Message-ID: <7klak7$bmk$1@ltpcg.star.le.ac.uk>
References: <7kaho3$jn6$1@ltpcg.star.le.ac.uk> <7kdgh9$gle@axalotl.demon.co.uk>

△ uk.misc △

◅ Going to the Dome?

Unix books for eejits. ▻