delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1998/02/21/10:28:29

Date: Sat, 21 Feb 1998 10:17:20 +0000 (GMT)
From: Travis Siegel <tsiegel AT softcon DOT com>
To: Philip A Lettkeman <phil DOT man AT juno DOT com>
cc: opendos AT delorie DOT com
Subject: Re: Y2K fix
In-Reply-To: <19980221.062145.7366.1.Phil.man@juno.com>
Message-ID: <Pine.LNX.3.96.980221101459.25476B-100000@softcon.com>
MIME-Version: 1.0

The way leap years are handled is that if the year is devisible by 4, it's
a leap year, unless the year is devisible by 400, in which case it is not
considered a leap year.  <shrug> I know, because I had to write some
software that handled dates from 1583 (the beginning of our current
calendar dating system) up until some indefinite period in the future.
And I'm happy to say, it properly handled both leap years and y2K
problems. :)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019