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 enter a self-contained function for converting a Gregorian date into a numerical day of the week. It preserves neither y nor d, and returns 0 = Sunday, 1 = Monday, etc. Shortly afterwards, Hans Lachman streamlined their algorithm for ease of use on low-end devices. As designed originally for four-function calculators, his method needs fewer keypad entries by limiting its range either to A.D. 1905-2099, or to historical Julian dates. It was later modified to convert any Gregorian date, even on an abacus. On Motorola 68000-based devices, there is similarly less need of either processor registers or opcodes, depending on