Determination of the day of the week day of the week begins by starting from an ‘anchor date’: a known pair (such as January 1, 1800 as a Wednesday), determining the number of days between the known day and the day that you are trying to determine, and using arithmetic modulo 7 to find a new numerical day of the week. One standard approach is to look up (or calculate, using a known rule) the value of the first day of the week of a given century, look up (or calculate, using a method of congruence) an adjustment for the month, calculate the number of leap years
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