Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 1997 13:49:39 -0500 (EST)
From:      jack <jack@diamond.xtalwind.net>
To:        Jamie Bowden <jamie@itribe.net>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: Tell the world about Year 2000 Compliance
Message-ID:  <Pine.BSF.3.96.971120134737.3229C-100000@germanium.xtalwind.net>
In-Reply-To: <199711201453.JAA00792@gatekeeper.itribe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Nov 1997, Jamie Bowden wrote:

> On Thu, 20 Nov 1997, James Raynard wrote:
> 
> > Although the problem isn't just a case of handling 1st January 2000
> > correctly - there may be programs which (wrongly!) assume 2000 is not
> > a leap year.  I vaguely remember hearing about some system which got
> > past 1st Jan and 29th Feb 2000, only to miss out a day in the middle
> > of March (OK, I think that one was a hardware bug).
> 
> Why is it wrong to assume 2000 isn't a leap year?  Last time I checked,
> years ending in three 0's were not leap years by definition.

Centurys are leap years iff they are divisible by 400.
2000 % 400 = 0 therefore  Feb 29, 2000 is valid.


--------------------------------------------------------------------------
Jack O'Neill                    Finger jacko@diamond.xtalwind.net or  
jack@xtalwind.net               http://www.xtalwind.net/~jacko/pubpgp.html
#include <std_disclaimers.h>    for my PGP key.
 PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67   FD 09 E9 3C 5F CC EB CD
--------------------------------------------------------------------------




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