Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 1997 10:07:21 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Richard Toren <rpt@sso.wdl.lmco.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: fetch
Message-ID:  <Pine.BSF.3.91.970602095839.14689D-100000@panda.hilink.com.au>
In-Reply-To: <Pine.SUN.3.91.970601190409.9881A-100000@hps>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 1 Jun 1997, Richard Toren wrote:

> I think this type of thinking ("assume current century") is how 
> the 2-digit years got started; and what got us into the 2K problem.
> 
> The boundry conditions are where that assumption breaks. Clock drift or just
> lucky timing has the item dated 12-31-99 23:58 and received 1-1-00 00:03. 
> Was it sent 99 years in the future? The next kludge is to create some special

Aren't people making this harder than it really is?  Look at the sources 
for date(1).  Unix starts in 1970.  If a 2 digit year is < 70, then add 
2000, else add 1900.  See date.c line 188 or so.

Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970602095839.14689D-100000>