Determination of the day of the week determined for the latter part of the analysis. By using a given day August 13, 2009 which was a Thursday as a reference, with "Base" and "n" being the number of days and weeks it has been since 01/01/0001 to the given day, respectively and "k" the day into the given week which must be less than 7, "Base" is expressed as Knowing that a year divisible by 4 or 400 is a leap year while a year divisible by 100 and not 400 is not a leap year, a software program can be written to find the number of
Determination of the day of the week January 1, 2000. (year − 1 for January) formula_3 formula_4 Note: The first is only for a 00 leap year and the second is for any 00 years. The term mod 7 gives the values of months: The term mod 7 gives the values of years: The term mod 7 gives the values of centuries: Now from the general formula: formula_5; January 1, 2000 can be recalculated as follows: formula_6 formula_7 Kraitchik proposed two methods for calculating the day of the week. One is a graphical method. The other uses a formula that he credits to Gauss on p. 110: