Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!cadre.dsl.pitt.edu!pitt!unix.cis.pitt.edu!evan From: evan@unix.cis.pitt.edu (Evan Ron Aussenberg) Newsgroups: comp.lang.pascal Subject: Re: day-of-week algorithm Message-ID: <19416@unix.cis.pitt.edu> Date: 2 Sep 89 22:46:57 GMT References: <59529@tut.cis.ohio-state.edu> Reply-To: evan@unix.cis.pitt.edu (Evan Ron Aussenberg) Organization: The Zets Lines: 25 In article <59529@tut.cis.ohio-state.edu> thurn@cis.ohio-state.edu (Martin 'Sulu' Thurn) writes: [..stuff about a day of week calc..] > On anothother note: That year calculation turns out to be y * 365.25, >which "makes sense" because every 4th year is a leap year. But what about >every 400th year is NOT a leap year? Should there be a factor of /400ths >in there somewhere? My mind is a bit too boggled at the moment, but I >figure I have 10 years to figure it out. I knew somewhere, I had once heard that every XXXyears the leap year is skipped. I never could remember where I read it, and no one I told thought I was serious. Now, what about my other recollection that every XXXyears there is something when we have to skip a -whole- month or something wierd like that? (Sorry, this isn't much about pascal) >---Martin Thurn thurn@cis.ohio-state.edu 73747.224@compuserve.com > >Disclaimer: The preceding statements are n...Wait a minute! I AM the company! Evan ____________________________________________________ / \ / evan@unix.cis.pitt.edu / evan@Pittvms.BITNET \ /________________________________________________________\