Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site burl.UUCP Path: utzoo!watmath!clyde!burl!rcj From: rcj@burl.UUCP (R. Curtis Jackson) Newsgroups: net.sources Subject: Re: Algorithm wanted Message-ID: <600@burl.UUCP> Date: Thu, 6-Dec-84 08:54:55 EST Article-I.D.: burl.600 Posted: Thu Dec 6 08:54:55 1984 Date-Received: Fri, 7-Dec-84 01:39:44 EST References: <2519@sdcc3.UUCP> Organization: AT&T Technologies; Burlington, NC Lines: 17 Make sure that whatever algorithm you get takes the following into account about leap years: a) Any year divisible by 4 is a leap year, unless b) it is divisible by 100 as well, in which case it is NOT a leap year, unless c) it is divisible by 400 as well, in which case it is a leap year after all. What stupid rules! Thanks to Geoff and John here for this scintillating info on leap year calculation, -- The MAD Programmer -- 919-228-3313 (Cornet 291) alias: Curtis Jackson ...![ ihnp4 ulysses cbosgd mgnetp ]!burl!rcj ...![ ihnp4 cbosgd akgua masscomp ]!clyde!rcj