Determination of the day of the week not a Gregorian leap year, (but 19 in the Julian column indicates that it "is" a Julian leap year, as are all Julian "x"00 years). 20 indicates that 2000 is a leap year. Use Jan and Feb only in leap years. For determination of the day of the week (1 January 2000, Saturday) For determination of the dominical letter (2000, BA) For determination of the doomsday (2000, Tuesday) Note that the date (and hence the day of the week) in the Revised Julian and Gregorian calendars is the same from 14 October 1923 to 28 February AD 2800 inclusive and
Determination of the day of the week the intended design objective. The tabular forerunner to Tøndering's algorithm is embodied in the following K&R C function. With minor changes, it was adapted for other high level programming languages such as APL2. Posted by Tomohiko Sakamoto on the comp.lang.c Usenet newsgroup in 1992, it is accurate for any Gregorian date. IBM's Rata Die method requires that one knows the "key day" of the proleptic Gregorian calendar i.e. the day of the week of January 1, AD 1 (its first date). This has to be done to establish the remainder number based on which the day of the week is