Determination of the day of the week *104804 + 4, "n" = 104804 and "k" = 4 which implies that August 13, 2009 is the fourth day into the 104805th week since 01/01/0001. 13 August 2009 is Thursday; therefore, the first day of the week must be Monday, and it is concluded that the first day 01/01/0001 of the calendar is "Monday". Based on this, the remainder of the ratio "Base/7", defined above as "k", decides what day of the week it is. If "k" = 0, it's Monday, "k" = 1, it's Tuesday, etc. Determination of the day of the week The determination of the day
Determination of the day of the week his collected works in 1927. Gauss' method was applicable to the Gregorian calendar. He numbered the weekdays from 0 to 6 starting with Sunday. He defined the following operation: The weekday of 1 January in year number is where is the remainder after division of by , or modulo . This formula was also converted into graphical and tabular methods for calculating any day of the week by Kraitchik and Schwerdtfeger. Another variation of the above algorithm likewise works with no lookup tables. A slight disadvantage is the unusual month and year counting convention. The formula is where For example,