Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!etive!aiai!ken From: ken@aiai.ed.ac.uk (Ken Johnson) Newsgroups: comp.lang.pascal Subject: Re: Day-of-week algorithm, please! Message-ID: <364@skye.ed.ac.uk> Date: 13 Apr 89 10:03:28 GMT References: <19040@adm.BRL.MIL> <1780001@hpcc01.HP.COM> <2394@maccs.McMaster.CA> Reply-To: ken@aiai.UUCP (Ken Johnson) Organization: AIAI, University of Edinburgh, Scotland Lines: 13 In article <2394@maccs.McMaster.CA> cs3b3aj@maccs.UUCP (Stephen M. Dunn) writes: >... It is either that years divisible by 400 are >_not_ leap years, or that any century year is not a leap year _except_ >for years divisible by 400. All years divisible by 400 ARE leap years. Other years divisible by 100 are NOT leap years. Other years divisible by 4 ARE leap years. Other years are NOT leap years. -- Ken Johnson, AI Applications Institute, 80 South Bridge, Edinburgh EH1 1HN E-mail ken@aiai.ed.ac.uk, phone 031-225 4464 extension 212 Expectorate the unexpectorated. Expect the unexpecfblugh.