Several years ago I came across a simple algorithm for determining the day of the week for any specific date. It was supposed to be valid from at least as long ago as 1800, and into the distant future. I have lost this code and would appreciate it if anyone might have it available. Thank you.
It would help if you told us what programming language you wanted this in... because if you wanted it in C or C++, there would be no reason you would post it in the Tech Board!?
It's called the Doomsday Rule - here is the algorithm in English, so we avoid ober's concerns :)