tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ How to find/install a binary?

Crontab bi-weekly ▻

Date function

In article <7u41hf$s9ar$1@reader2.wxs.nl>,
Kees Couprie <K.Couprie@GenD.nl> wrote:
>Who cares about leap seconds? I've never seen a unix-version that knows
>about leap seconds.

Really?  I don't think you're looking hard enough.

The Olson timezone code (present on every Unix box) can be configured
to do leap second calculations.  This is how my boxes are set up: the
system clock ticks TAI from an epoch of 1970-01-01 00:00:10 and leap
second calculations are done at the same time as time zone calculations.

Additionally, any system running NTP knows enough about leap seconds
to be able to ignore them (which actually involves stepping the clock
backwards when a leap second occurs).

Tim.
--
Tim Goodwin   | "People think [ W. Gibson is ] hi-tech because his prose
Leicester, UK | is as pleasant to read as a C++ program." -- JT

Original headers:

From: tjg@star.le.ac.uk (Tim Goodwin)
Newsgroups: comp.unix.aix,comp.unix.misc,comp.unix.programmer,comp.unix.shell
Subject: Re: Date function
Date: 14 Oct 1999 12:18:20 +0100
Organization: University of Leicester, UK
Message-ID: <7u4e6i$3te$1@ltpcg.star.le.ac.uk>
References: <7t9ucj$i53$1@newton.pacific.net.sg>
  <7u1gdm$6i1$1@reader1.wxs.nl> <slrn80a2ns.4vl.ken@pulsar.halcyon.com>
  <7u41hf$s9ar$1@reader2.wxs.nl>

△ comp.unix.shell △

◅ How to find/install a binary?

Crontab bi-weekly ▻