home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!rpi!bu.edu!dartvax!Joe.Francis
- From: Joe.Francis@dartmouth.edu (Joe Francis)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Look before you Leap
- Message-ID: <1992Sep9.183024.16138@dartvax.dartmouth.edu>
- Date: 9 Sep 92 18:30:24 GMT
- References: <lanbtrINN8tj@pollux.usc.edu>
- <1992Sep9.143915.19555@nic.funet.fi>
- Sender: news@dartvax.dartmouth.edu (The News Manager)
- Organization: Dartmouth College, Hanover, NH
- Lines: 12
- X-Posted-From: InterNews1.0a4@newshost.dartmouth.edu
-
- In <lanbtrINN8tj@pollux.usc.edu> suhler@pollux.usc.edu (Paul A. Suhler)
- writes:
-
- >A note for those writing programs that calculate future dates:
- >unless I'm mistaken, any year which is integrally divisible by 400
- >is NOT a leap year.
-
- I believe this is incorrect. Years divisible by 4 are leap years,
- except for years divisible by 100 which aren't, except for years
- divisible by 400 which are. This yields a calender of (on average)
- 365.2425 days a year, very close to the actual 365.2422 days in a solar
- year.
-