Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 13:17:32 -0400
From:      sbabkin@dcn.att.com
To:        kaleb@ics.com, hackers@FreeBSD.ORG
Subject:   RE: WRT y2k compliance, in 2000, the day after Feb 28 is NOT Feb  29.
Message-ID:  <C50B6FBA632FD111AF0F0000C0AD71EEFF8BA8@dcn71.dcn.att.com>

next in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From:	Kaleb S. KEITHLEY [SMTP:kaleb@ics.com]
> 
> All this talk about y2k stuff, consider the following:
> 
[program skipped]

> And I didn't check, but if they all think 2000 has a 29 Feb., then I'd
> wager they think that there's 366 days in the year too, and that all
> the
> day-of-the-week are off by a day for every day after Feb 28.
> /usr/bin/cal is broken too on the two systems I checked.
> 
Year 2000 really has the day of February 29th. And it's an important
date in Y2K testing :-) The rule behind it is: 

leap= ( (year%4==0) && ( !(year%100==0) || (year%400==0) ) )

-Sergey

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C50B6FBA632FD111AF0F0000C0AD71EEFF8BA8>