Path: utzoo!attcan!uunet!midway!ncar!asuvax!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!swrinde!emory!mephisto!mcnc!duke!drh From: drh@duke.cs.duke.edu (D. Richard Hipp) Newsgroups: comp.lang.c Subject: Re: Leap Year Checker. Message-ID: <654522456@grad11.cs.duke.edu> Date: 28 Sep 90 11:47:37 GMT References: <24700010@sunc1> <1115.26ff47b6@iccgcc.decnet.ab.com> <242@srchtec.UUCP> Organization: Duke University Computer Science Dept.; Durham, N.C. Lines: 15 >|> Ordinarily, a leap-year is a multiple of four, so that--given leap-year y-- >|> (y%4 == 0) ought to indicate if y designates a leap-year. >|Every leap year is divisible by four, but not every year divisible by >|four is a leap year. Since the 18th century (I think 1752, but an >|earlier century in R.C. countries), the algorithm has been... >The date was 1582. Pope Gregory the something-th instituted the Gregorian calendar beginning on October 5, 1582. Countries loyal to Rome followed suit immediately. Other nations began to gradually convert to the Gregorian system over the next 4 centuries. The British Empire converted on September 2, 1752. Russia waited until the 20th century before "going Gregorian". You can probably guess that the non-uniformity of calendars in Europe in prior centuries created some small confusion for international travelers.