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
Eight-day week popularity of the seven-day rhythm won and the eight-day week disappeared. The cycle of seven days, named after the sun, the moon, and the five planets visible to the naked eye, was already customary in the time of Justin Martyr, who wrote of the Christians meeting on the Day of the Sun (Sunday). Emperor Constantine eventually established the seven-day week in the Roman calendar in AD 321. The Celts used periods of darkness such as night and winter to begin their calculations of time. This meant that the first period of time in a "week" was a night, followed by