What Day of The Week Was



Integers Divisible by Seven:
7 14 21 28 35 42 49 56 63 70

Step 1: Century Anchor Day.

Formula: (c is Century)
anchor = 5*(c%4)+2; //(Gregorian Calendar)

Table:
1500160017001800
1900200021002200
2300240025002600
3205

Step 2: Year Doomsday.

Formula: (doomsday = year % 100)
doomsday += doomsday%2==1 ? 11 : 0;
doomsday /= 2;
doomsday += doomsday%2==1 ? 11 : 0;
doomsday = 7 - doomsday%7;

Step 3: Close Doomsday Dates

table: *Leap Year
Jan 03/0110/0117/0124/0131/01
Jan*04/0111/0118/0125/01
Feb 07/0214/0221/0228/02
Feb*01/0208/0215/0222/0229/02
Mars07/0314/0321/0328/03
Apr 04/0411/0418/0425/04
May 02/0509/0516/0523/0530/05
June06/0613/0620/0627/06
Jul 04/0711/0718/0725/07
Aug 01/0808/0815/0825/08
Sep 05/0912/0919/0926/09
Oct 03/1010/1017/1024/1031/10
Nov 07/1114/1121/1128/11
Dec 05/1212/1219/1226/12