Subject: Day of the week
Date: Sat, 29 Mar 1997 20:41:57 +0300
From: Sledge.Hammer

Hi,

I am desperately looking for mental methods of calculating what day of week it is given an exact date. Impressed by your homepage, i decided to write you and see if you can help.

I've got a lot of equations, but what i am really after is the thought that goes behind finding out day of the week. For example, one formulae that i know of works as follows:

d = (y-1) + Y-1/4 + y-1/100 + y-1/400 + s

That's all fine and dandy, but why on earth are we dividing by those numbers.

Hoping you'd help.

Please mail me on:

fazal.malik@abc.sprint.com

thanx for any help.....

|Reply| |Previous| |Next| |Down| |Exchange index| |Contents| |Store|

Copyright © 1996-2018 Alexander Bogomolny

71931881