Doomsday (weekday)
Encyclopedia
The Doomsday rule or Doomsday algorithm is a way of calculating the day of the week
of a given date. It provides a perpetual calendar
since the Gregorian calendar
moves in cycles of 400 years.
This algorithm
for mental calculation
was devised by John Conway
after drawing inspiration from Lewis Carroll's
work on a perpetual calendar algorithm. It takes advantage of the fact that each year has a certain day of the week (the doomsday) upon which certain easy-to-remember dates fall; for example, 4/4, 6/6, 8/8, 10/10, 12/12, and the last day of February all occur on the same day of the week in any given year. Applying the Doomsday algorithm involves three steps:
This technique applies to both the Gregorian calendar
A.D.
and the Julian calendar
, although their doomsdays will usually be different days of the week.
Since this algorithm involves treating days of the week like numbers mod 7, John Conway
suggests thinking of the days of the week as Noneday, Oneday, Twosday, Treblesday, Foursday, Fiveday, and Six-a-day.
The algorithm is simple enough for anyone with basic arithmetic ability to do the calculations mentally. Conway can usually give the correct answer in under two seconds. To improve his speed, he practices his calendrical calculations on his computer, which is programmed to quiz him with random dates every time he logs on.
For some other contemporary years:
As mentioned above, the last day of February always falls on the doomsday, as do the double dates 4/4, 6/6, 8/8, 10/10, and 12/12. Four of the odd month dates (5/9, 9/5, 7/11, and 11/7) can be remembered with the mnemonic "I work from 9 to 5 at the 7-11
." For March, one can remember the pseudo-date "March 0", which refers to the day before 3/1, i.e. the last day of February; one can alternately remember the date a week later, 3/7, or 3/21 which is often the first day of spring in the northern hemisphere. For January, 1/11 is a doomsday during leap years, while 1/10 is a doomsday during common years; 1/3 is a doomsday during common years and 1/4 a doomsday during leap years, which can be remembered as "the 3rd during 3 years in 4, and the 4th in the 4th".
Since the Doomsday for a particular year is directly related to weekdays of dates in the period from March through February of the next year, common years and leap years have to be distinguished for January and February of the same year.
It's useful to note that Christmas Day is always the day before Doomsday ("One off Doomsday"). In addition, July 4 is always on a Doomsday, and so is Halloween
.
Suppose that you want to find the day of week that the September 11, 2001 attacks
on the World Trade Center
occurred. The century anchor was Tuesday, and Doomsday for 2001 is one day beyond, which is Wednesday. September 5 was a Doomsday, and September 11, six days later, fell on a Tuesday.
Next, we find the year's Doomsday. To accomplish that according to Conway:
For the twentieth-century year 1966, for example:
As described in bullet 4, above, this is equivalent to:
So Doomsday in 1966 fell on Monday.
Similarly, Doomsday in 2005 is on a Monday:
This gives a simpler formula if one is comfortable dividing large values of y by both 4 and 7. For example, we can compute , which gives the same answer as in the example above.
Where 12 comes in is that the pattern of almost repeats every 12 years. After 12 years, we get (12 + 12/4) mod 7 = 15 mod 7 = 1. If we replace y by y mod 12, we are throwing this extra day away; but adding back in compensates for this error, giving the final formula.
It is well suited to mental calculation, because it requires no division by 4 (or 12), and the procedure is easy to remember because of its repeated use of the "odd+11" rule.
The procedure accumulates a running total T as follows:
Applying this method to the year 1966, for example, the steps as outlined would be:
. Add these two numbers modulo 7 and use the result to offset from Thursday to get the anchor day.
The anchor day for the twenty-first century is Tuesday:
* In leap years the nth Doomsday is in ISO week
n. In common years the day after the nth Doomsday is in week n. Thus in a common year the week number on the Doomsday itself is one less if it is a Sunday, i.e., in a common year starting on Friday
.
For the Gregorian calendar:
For example, the year 2009 has a doomsday of Saturday under the Gregorian calendar (the currently accepted calendar), since
For the Julian calendar:
The formulas apply also for the proleptic Gregorian calendar
and the proleptic Julian calendar
. They use the floor function
and astronomical year numbering
for years BC.
For comparison, see the calculation of a Julian day number.
The full 400-year cycle of Doomsdays is given in the following table. The centuries are for the Gregorian and proleptic Gregorian calendar
, unless marked with a J for Julian (for the latter not all centuries are shown, for the missing ones it is easy to interpolate). The Gregorian leap years are highlighted.
Negative years use astronomical year numbering
. Year 25BC is −24, shown in the column of −100J (proleptic Julian) or −100 (proleptic Gregorian), at the row 76.
Frequency in the 400-year cycle (leap years are widened again):
Adding common and leap years:
A leap year with Monday as Doomsday means that Sunday is one of 97 days skipped in the 497-day sequence. Thus the total number of years with Sunday as Doomsday is 71 minus the number of leap years with Monday as Doomsday, etc. Since Monday as Doomsday is skipped across 29 February 2000 and the pattern of leap days is symmetric about that leap day, the frequencies of Doomsdays per weekday (adding common and leap years) are symmetric about Monday. The frequencies of Doomsdays of leap years per weekday are symmetric about the Doomsday of 2000, Tuesday.
The frequency of a particular date being on a particular weekday can easily be derived from the above (for a date from 1 January - 28 February, relate it to the Doomsday of the previous year).
For example, 28 February is one day after Doomsday of the previous year, so it is 58 times each on Tuesday, Thursday and Sunday, etc. 29 February is Doomsday of a leap year, so it is 15 times each on Monday and Wednesday, etc.
For any given date up to 28 February falling on a particular weekday, the 3 common years are 5, 11, and 22 years after the leap year, so with intervals of 5, 6, 11, and 6 years. Thus the cycle is the same, but with the 5-year interval after instead of before the leap year.
Thus, for any date except 29 February, the intervals between common years falling on a particular weekday are 6, 11, 11. See e.g. at the bottom of the page Common year starting on Monday
the years in the range 1906–2091.
For 29 February falling on a particular weekday, there is just one in every 28 years, and it is of course a leap year.
accurately lines up with astronomical events such as solstices. In 1582 this modification of the Julian calendar
was first instituted. In order to correct for calendar drift, 10 days were skipped, so Doomsday moved back 10 days (i.e. 3 days): Thursday 4 October (Julian, Doomsday is Wednesday) was followed by Friday 15 October (Gregorian, Doomsday is Sunday). The table includes Julian calendar years, but the algorithm is for the Gregorian and proleptic Gregorian calendar only.
Note that the Gregorian calendar was not adopted simultaneously in all countries, so for many centuries, different regions used different dates for the same day.
of the year as follows.
This yields 8, which is equivalent to 1 mod 7. Thus, Doomsday in 1985 was a Thursday. We now compare September 18 to a nearby Doomsday. Since September 5 is a Doomsday, we see that the 18th is 13 past a Doomsday, which is equivalent to −1 mod 7. Thus, we take one away from Thursday to find that September 18, 1985 was a Wednesday.
broke out at Fort Sumter
, which was April 12, 1861. The anchor day for the century was 99 days after Thursday, or, in other words, Friday (calculated as (18+1)*5+floor(18/4); or just look at the chart, above, which lists the century's anchor days). The digits 61 gave a displacement of six days so Doomsday was Thursday. Therefore, April 4 was Thursday so April 12, eight days later, was a Friday.
Calculating the day of the week
This article details various mathematical algorithms to calculate the day of the week for any particular date in the past or future.A typical application is to calculate the day of the week on which someone was born or some other special event occurred....
of a given date. It provides a perpetual calendar
Perpetual calendar
A perpetual calendar is a calendar which is good for a span of many years, such as the Runic calendar.- General information :...
since the Gregorian calendar
Gregorian calendar
The Gregorian calendar, also known as the Western calendar, or Christian calendar, is the internationally accepted civil calendar. It was introduced by Pope Gregory XIII, after whom the calendar was named, by a decree signed on 24 February 1582, a papal bull known by its opening words Inter...
moves in cycles of 400 years.
This algorithm
Algorithm
In mathematics and computer science, an algorithm is an effective method expressed as a finite list of well-defined instructions for calculating a function. Algorithms are used for calculation, data processing, and automated reasoning...
for mental calculation
Mental calculation
Mental calculation comprises arithmetical calculations using only the human brain, with no help from calculators, computers, or pen and paper. People use mental calculation when computing tools are not available, when it is faster than other means of calculation , or in a competition context...
was devised by John Conway
John Horton Conway
John Horton Conway is a prolific mathematician active in the theory of finite groups, knot theory, number theory, combinatorial game theory and coding theory...
after drawing inspiration from Lewis Carroll's
Lewis Carroll
Charles Lutwidge Dodgson , better known by the pseudonym Lewis Carroll , was an English author, mathematician, logician, Anglican deacon and photographer. His most famous writings are Alice's Adventures in Wonderland and its sequel Through the Looking-Glass, as well as the poems "The Hunting of the...
work on a perpetual calendar algorithm. It takes advantage of the fact that each year has a certain day of the week (the doomsday) upon which certain easy-to-remember dates fall; for example, 4/4, 6/6, 8/8, 10/10, 12/12, and the last day of February all occur on the same day of the week in any given year. Applying the Doomsday algorithm involves three steps:
- Determine the "anchor day" for the century.
- Use the anchor day for the century to calculate the doomsday for the year.
- Choose the closest date out of the ones that always fall on the doomsday (e.g. 4/4, 6/6, 8/8), and count the number of days (mod 7Modular arithmeticIn mathematics, modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" after they reach a certain value—the modulus....
) between that date and the date in question to arrive at the day of the week.
This technique applies to both the Gregorian calendar
Gregorian calendar
The Gregorian calendar, also known as the Western calendar, or Christian calendar, is the internationally accepted civil calendar. It was introduced by Pope Gregory XIII, after whom the calendar was named, by a decree signed on 24 February 1582, a papal bull known by its opening words Inter...
A.D.
Anno Domini
and Before Christ are designations used to label or number years used with the Julian and Gregorian calendars....
and the Julian calendar
Julian calendar
The Julian calendar began in 45 BC as a reform of the Roman calendar by Julius Caesar. It was chosen after consultation with the astronomer Sosigenes of Alexandria and was probably designed to approximate the tropical year .The Julian calendar has a regular year of 365 days divided into 12 months...
, although their doomsdays will usually be different days of the week.
Since this algorithm involves treating days of the week like numbers mod 7, John Conway
John Horton Conway
John Horton Conway is a prolific mathematician active in the theory of finite groups, knot theory, number theory, combinatorial game theory and coding theory...
suggests thinking of the days of the week as Noneday, Oneday, Twosday, Treblesday, Foursday, Fiveday, and Six-a-day.
The algorithm is simple enough for anyone with basic arithmetic ability to do the calculations mentally. Conway can usually give the correct answer in under two seconds. To improve his speed, he practices his calendrical calculations on his computer, which is programmed to quiz him with random dates every time he logs on.
Doomsdays for some contemporary years
Doomsday for the current year is .For some other contemporary years:
2004 | Sunday |
2005 | Monday |
2006 | Tuesday |
2007 | Wednesday |
2008 | Friday |
2009 | Saturday |
2010 | Sunday |
2011 | Monday |
2012 | Wednesday |
2013 | Thursday |
2014 | Friday |
2015 | Saturday |
2016 | Monday |
Memorable dates that always land on Doomsday
One can easily find the day of the week of a given calendar date by using a nearby Doomsday as a reference point. To help with this, the following is a list of easy-to-remember dates for each month that always land on the doomsday.As mentioned above, the last day of February always falls on the doomsday, as do the double dates 4/4, 6/6, 8/8, 10/10, and 12/12. Four of the odd month dates (5/9, 9/5, 7/11, and 11/7) can be remembered with the mnemonic "I work from 9 to 5 at the 7-11
7-Eleven
7-Eleven is part of an international chain of convenience stores, operating under Seven-Eleven Japan Co. Ltd, which in turn is owned by Seven & I Holdings Co...
." For March, one can remember the pseudo-date "March 0", which refers to the day before 3/1, i.e. the last day of February; one can alternately remember the date a week later, 3/7, or 3/21 which is often the first day of spring in the northern hemisphere. For January, 1/11 is a doomsday during leap years, while 1/10 is a doomsday during common years; 1/3 is a doomsday during common years and 1/4 a doomsday during leap years, which can be remembered as "the 3rd during 3 years in 4, and the 4th in the 4th".
Month | Memorable date | Mnemonic |
---|---|---|
January | 1/3 (common years), 1/4 (leap years) 1/10 (common years), 1/11 (leap years) |
the 3rd 3 years in 4 and the 4th in the 4th all ones |
February | 2/28 (common years), 2/29 (leap years) | last day of February |
March | "3/0", 3/7 3/21 |
last day of February often first day of spring |
April | 4/4 | even month |
May | 5/9 | 9-to-5 at 7-11 |
June | 6/6 | even month |
July | 7/11 | 9-to-5 at 7-11 |
August | 8/8 | even month |
September | 9/5 | 9-to-5 at 7-11 |
October | 10/10 | even month |
November | 11/7 | 9-to-5 at 7-11 |
December | 12/12 | even month |
Since the Doomsday for a particular year is directly related to weekdays of dates in the period from March through February of the next year, common years and leap years have to be distinguished for January and February of the same year.
Examples
Suppose you want to know which day of the week Christmas Day of 2006 was. In the year 2006, Doomsday was Tuesday. Since December 12 is a Doomsday, December 25, being thirteen days afterwards (two weeks less a day), fell on a Monday.It's useful to note that Christmas Day is always the day before Doomsday ("One off Doomsday"). In addition, July 4 is always on a Doomsday, and so is Halloween
Halloween
Hallowe'en , also known as Halloween or All Hallows' Eve, is a yearly holiday observed around the world on October 31, the night before All Saints' Day...
.
Suppose that you want to find the day of week that the September 11, 2001 attacks
September 11, 2001 attacks
The September 11 attacks The September 11 attacks The September 11 attacks (also referred to as September 11, September 11th or 9/119/11 is pronounced "nine eleven". The slash is not part of the pronunciation...
on the World Trade Center
World Trade Center
The original World Trade Center was a complex with seven buildings featuring landmark twin towers in Lower Manhattan, New York City, United States. The complex opened on April 4, 1973, and was destroyed in 2001 during the September 11 attacks. The site is currently being rebuilt with five new...
occurred. The century anchor was Tuesday, and Doomsday for 2001 is one day beyond, which is Wednesday. September 5 was a Doomsday, and September 11, six days later, fell on a Tuesday.
Finding a year's Doomsday
We first take the anchor day for the century. For the purposes of the Doomsday rule, a century starts with a 00 year and ends with a 99 year. The following table shows the anchor day of centuries 1800–1899, 1900–1999, 2000–2099 and 2100–2199.Century | Anchor day | Mnemonic | Index (day of week) |
---|---|---|---|
Sunday | - | 0 (Noneday) | |
1800–1899 | Friday | - | 5 (Fiveday) |
1900–1999 | Wednesday | We-in-dis-day (most living people were born in that century) |
3 (Treblesday) |
2000–2099 | Tuesday | Y-Tue-K or Twos-day (Y2K was at the head of this century) |
2 (Twosday) |
2100–2199 | Sunday | Twenty-one-day is Sunday (2100 is the start of the next century) |
0 (Noneday) |
Next, we find the year's Doomsday. To accomplish that according to Conway:
- Divide the year's last two digits (call this y) by 12 and let a be the floor of the quotientQuotientIn mathematics, a quotient is the result of division. For example, when dividing 6 by 3, the quotient is 2, while 6 is called the dividend, and 3 the divisor. The quotient further is expressed as the number of times the divisor divides into the dividend e.g. The quotient of 6 and 2 is also 3.A...
. - Let b be the remainder of the same quotient.
- Divide that remainder by 4 and let c be the floor of the quotient.
- Let d be the sum of the three numbers (d = a + b + c). (It is again possible here to divide by seven and take the remainder. This number is equivalent, as it must be, to the sum of the last two digits of the year taken collectively plus the floor of those collective digits divided by four.)
- Count forward the specified number of days (d or the remainder of d/7) from the anchor day to get the year's Doomsday.
For the twentieth-century year 1966, for example:
As described in bullet 4, above, this is equivalent to:
So Doomsday in 1966 fell on Monday.
Similarly, Doomsday in 2005 is on a Monday:
Why it works
The doomsday calculation is effectively calculating the number of days between any given date in the base year and the same date in the current year, then taking the remainder modulo 7. When both dates come after the leap day (if any), the difference is just 365y plus y/4 (rounded down). But 365 equals 52*7+1, so after taking the remainder we get justThis gives a simpler formula if one is comfortable dividing large values of y by both 4 and 7. For example, we can compute , which gives the same answer as in the example above.
Where 12 comes in is that the pattern of almost repeats every 12 years. After 12 years, we get (12 + 12/4) mod 7 = 15 mod 7 = 1. If we replace y by y mod 12, we are throwing this extra day away; but adding back in compensates for this error, giving the final formula.
The Odd+11 method
A simpler method for finding the year's doomsday was discovered in 2010. Called the Odd+11 method, it has been proved equivalent to computingIt is well suited to mental calculation, because it requires no division by 4 (or 12), and the procedure is easy to remember because of its repeated use of the "odd+11" rule.
The procedure accumulates a running total T as follows:
- Let T be the year's last two digits.
- If T is odd, add 11.
- Let T = T/2.
- If T is odd, add 11.
- Let T = 7 − (T mod 7).
- Count forward T days from the anchor day to get the year's Doomsday.
Applying this method to the year 1966, for example, the steps as outlined would be:
- T = 66
- T = 66 (Do nothing since T is even.)
- T = 66/2 = 33
- T = 33+11 = 44 (Add 11 because T is odd.)
- T = 7 − (44 mod 7) = 7 − 2 = 5
- Doomsday 1966 = 5 + Wednesday = Monday
Finding a century's anchor day
To find a century's anchor day, begin by finding the century c in which the date falls. (For the purposes of this calculation, century years are treated as though they fall in the century that follows. 2000 is therefore part of the 21st century in this equation, not the 20th century.) A year's century number is equal to its first two digits plus one. Take the century number and multiply by 5. Separately, subtract one from the century number, divide by four and take the floor of the quotientQuotient
In mathematics, a quotient is the result of division. For example, when dividing 6 by 3, the quotient is 2, while 6 is called the dividend, and 3 the divisor. The quotient further is expressed as the number of times the divisor divides into the dividend e.g. The quotient of 6 and 2 is also 3.A...
. Add these two numbers modulo 7 and use the result to offset from Thursday to get the anchor day.
The anchor day for the twenty-first century is Tuesday:
Overview of all Doomsdays
Month | Dates | Week numbers * |
---|---|---|
January (common years) | 3, 10, 17, 24, 31 | 1–5 |
January (leap years) | 4, 11, 18, 25 | 1–4 |
February (common years) | 7, 14, 21, 28 | 6–9 |
February (leap years) | 1, 8, 15, 22, 29 | 5–9 |
March | 7, 14, 21, 28 | 10–13 |
April | 4, 11, 18, 25 | 14–17 |
May | 2, 9, 16, 23, 30 | 18–22 |
June | 6, 13, 20, 27 | 23–26 |
July | 4, 11, 18, 25 | 27–30 |
August | 1, 8, 15, 22, 29 | 31–35 |
September | 5, 12, 19, 26 | 36–39 |
October | 3, 10, 17, 24, 31 | 40–44 |
November | 7, 14, 21, 28 | 45–48 |
December | 5, 12, 19, 26 | 49–52 |
ISO week date
The ISO week date system is a leap week calendar system that is part of the ISO 8601 date and time standard. The system is used in government and business for fiscal years, as well as in timekeeping....
n. In common years the day after the nth Doomsday is in week n. Thus in a common year the week number on the Doomsday itself is one less if it is a Sunday, i.e., in a common year starting on Friday
Common year starting on Friday
This is the calendar for any common year starting on Friday, January 1 . Examples: Gregorian years 1993, 1999, 2010 and 2021or Julian years 1910 and 1899 ....
.
Computer formula for the Doomsday of a year
For computer use, the following formulas for the Doomsday of a year are convenient.For the Gregorian calendar:
For example, the year 2009 has a doomsday of Saturday under the Gregorian calendar (the currently accepted calendar), since
For the Julian calendar:
The formulas apply also for the proleptic Gregorian calendar
Proleptic Gregorian calendar
The proleptic Gregorian calendar is produced by extending the Gregorian calendar backward to dates preceding its official introduction in 1582.-Usage:...
and the proleptic Julian calendar
Proleptic Julian calendar
The proleptic Julian calendar is produced by extending the Julian calendar to dates preceding AD 4 when its quadrennial leap year stabilized. The leap years actually observed between its official implementation in 45 BC and AD 4 were erratic, see the Julian calendar article for details.A calendar...
. They use the floor function
Floor function
In mathematics and computer science, the floor and ceiling functions map a real number to the largest previous or the smallest following integer, respectively...
and astronomical year numbering
Astronomical year numbering
Astronomical year numbering is based on AD/CE year numbering, but follows normal decimal integer numbering more strictly. Thus, it has a year 0, the years before that are designated with negative numbers and the years after that are designated with positive numbers...
for years BC.
For comparison, see the calculation of a Julian day number.
400-year cycle of Doomsdays
Since in the Gregorian calendar there are 146097 days, or exactly 20871 seven-day weeks, in 400 years, the anchor day repeats every four centuries. For example, the anchor day of 1700–1799 is the same as the anchor day of 2100–2199, i.e. Sunday.The full 400-year cycle of Doomsdays is given in the following table. The centuries are for the Gregorian and proleptic Gregorian calendar
Proleptic Gregorian calendar
The proleptic Gregorian calendar is produced by extending the Gregorian calendar backward to dates preceding its official introduction in 1582.-Usage:...
, unless marked with a J for Julian (for the latter not all centuries are shown, for the missing ones it is easy to interpolate). The Gregorian leap years are highlighted.
-200J 500J 1200J 1900J -400 00 400 800 1200 1600 2000 |
-00J 700J 1400J 2100J -300 100 500 900 1300 1700 2100 |
200J 900J 1600J 2300J -200 200 600 1000 1400 1800 2200 |
400J 1100J 1800J 2500J -100 300 700 1100 1500 1900 2300 |
|
---|---|---|---|---|
00 | Tu | Su | Fr | We |
01 29 57 85 | We | Mo | Sa | Th |
02 30 58 86 | Th | Tu | Su | Fr |
03 31 59 87 | Fr | We | Mo | Sa |
04 32 60 88 | Su | Fr | We | Mo |
05 33 61 89 | Mo | Sa | Th | Tu |
06 34 62 90 | Tu | Su | Fr | We |
07 35 63 91 | We | Mo | Sa | Th |
08 36 64 92 | Fr | We | Mo | Sa |
09 37 65 93 | Sa | Th | Tu | Su |
10 38 66 94 | Su | Fr | We | Mo |
11 39 67 95 | Mo | Sa | Th | Tu |
12 40 68 96 | We | Mo | Sa | Th |
13 41 69 97 | Th | Tu | Su | Fr |
14 42 70 98 | Fr | We | Mo | Sa |
15 43 71 99 | Sa | Th | Tu | Su |
16 44 72 | Mo | Sa | Th | Tu |
17 45 73 | Tu | Su | Fr | We |
18 46 74 | We | Mo | Sa | Th |
19 47 75 | Th | Tu | Su | Fr |
20 48 76 | Sa | Th | Tu | Su |
21 49 77 | Su | Fr | We | Mo |
22 50 78 | Mo | Sa | Th | Tu |
23 51 79 | Tu | Su | Fr | We |
24 52 80 | Th | Tu | Su | Fr |
25 53 81 | Fr | We | Mo | Sa |
26 54 82 | Sa | Th | Tu | Su |
27 55 83 | Su | Fr | We | Mo |
28 56 84 | Tu | Su | Fr | We |
2000 2400 |
2100 2500 |
2200 2600 |
2300 2700 |
Negative years use astronomical year numbering
Astronomical year numbering
Astronomical year numbering is based on AD/CE year numbering, but follows normal decimal integer numbering more strictly. Thus, it has a year 0, the years before that are designated with negative numbers and the years after that are designated with positive numbers...
. Year 25BC is −24, shown in the column of −100J (proleptic Julian) or −100 (proleptic Gregorian), at the row 76.
Frequency in the 400-year cycle (leap years are widened again):
- 44 × Thursday, Saturday (non-leap years)
- 43 × Monday, Tuesday, Wednesday, Friday, Sunday (non-leap years)
- 15 × Monday, Wednesday (leap years)
- 14 × Friday, Saturday (leap years)
- 13 × Tuesday, Thursday, Sunday (leap years)
Adding common and leap years:
- 58 × Monday, Wednesday, Saturday
- 57 × Thursday, Friday
- 56 × Tuesday, Sunday
A leap year with Monday as Doomsday means that Sunday is one of 97 days skipped in the 497-day sequence. Thus the total number of years with Sunday as Doomsday is 71 minus the number of leap years with Monday as Doomsday, etc. Since Monday as Doomsday is skipped across 29 February 2000 and the pattern of leap days is symmetric about that leap day, the frequencies of Doomsdays per weekday (adding common and leap years) are symmetric about Monday. The frequencies of Doomsdays of leap years per weekday are symmetric about the Doomsday of 2000, Tuesday.
The frequency of a particular date being on a particular weekday can easily be derived from the above (for a date from 1 January - 28 February, relate it to the Doomsday of the previous year).
For example, 28 February is one day after Doomsday of the previous year, so it is 58 times each on Tuesday, Thursday and Sunday, etc. 29 February is Doomsday of a leap year, so it is 15 times each on Monday and Wednesday, etc.
28-year cycle
Regarding the frequency of Doomsdays in a Julian 28-year cycle, there are 1 leap year and 3 common years for every weekday, the latter 6, 17 and 23 years after the former (so with intervals of 6, 11, 6, and 5 years; not evenly distributed because after 12 years the day is skipped in the sequence of Doomsdays). The same cycle applies for any given date from 1 March falling on a particular weekday.For any given date up to 28 February falling on a particular weekday, the 3 common years are 5, 11, and 22 years after the leap year, so with intervals of 5, 6, 11, and 6 years. Thus the cycle is the same, but with the 5-year interval after instead of before the leap year.
Thus, for any date except 29 February, the intervals between common years falling on a particular weekday are 6, 11, 11. See e.g. at the bottom of the page Common year starting on Monday
Common year starting on Monday
This is the calendar for any common year starting on Monday, January 1 . Examples: Gregorian year 1990, 2001, 2007 and 2018or Julian year 1918 ....
the years in the range 1906–2091.
For 29 February falling on a particular weekday, there is just one in every 28 years, and it is of course a leap year.
Julian calendar
The Gregorian calendarGregorian calendar
The Gregorian calendar, also known as the Western calendar, or Christian calendar, is the internationally accepted civil calendar. It was introduced by Pope Gregory XIII, after whom the calendar was named, by a decree signed on 24 February 1582, a papal bull known by its opening words Inter...
accurately lines up with astronomical events such as solstices. In 1582 this modification of the Julian calendar
Julian calendar
The Julian calendar began in 45 BC as a reform of the Roman calendar by Julius Caesar. It was chosen after consultation with the astronomer Sosigenes of Alexandria and was probably designed to approximate the tropical year .The Julian calendar has a regular year of 365 days divided into 12 months...
was first instituted. In order to correct for calendar drift, 10 days were skipped, so Doomsday moved back 10 days (i.e. 3 days): Thursday 4 October (Julian, Doomsday is Wednesday) was followed by Friday 15 October (Gregorian, Doomsday is Sunday). The table includes Julian calendar years, but the algorithm is for the Gregorian and proleptic Gregorian calendar only.
Note that the Gregorian calendar was not adopted simultaneously in all countries, so for many centuries, different regions used different dates for the same day.
Correspondence with dominical letter
Doomsday is related to the dominical letterDominical letter
Dominical letters are letters A, B, C, D, E, F and G assigned to days in a cycle of seven with the letter A always set against 1 January as an aid for finding the day of the week of a given calendar date and in calculating Easter....
of the year as follows.
Dominical letter | Doomsday |
---|---|
A or BA | Tuesday |
B or CB | Monday |
C or DC | Sunday |
D or ED | Saturday |
E or FE | Friday |
F or GF | Thursday |
G or AG | Wednesday |
Example 1 (1985)
Suppose you want to know the day of the week of September 18, 1985. You begin with the century day, Wednesday. To this, we'll add three things, called a, b, and c above:- a is the floor of 85/12, which is 7.
- b is 85 mod 12, which is 1.
- c is the floor of b/4, which is 0.
This yields 8, which is equivalent to 1 mod 7. Thus, Doomsday in 1985 was a Thursday. We now compare September 18 to a nearby Doomsday. Since September 5 is a Doomsday, we see that the 18th is 13 past a Doomsday, which is equivalent to −1 mod 7. Thus, we take one away from Thursday to find that September 18, 1985 was a Wednesday.
Example 2 (other centuries)
Suppose that you want to find the day of week that the American Civil WarAmerican Civil War
The American Civil War was a civil war fought in the United States of America. In response to the election of Abraham Lincoln as President of the United States, 11 southern slave states declared their secession from the United States and formed the Confederate States of America ; the other 25...
broke out at Fort Sumter
Fort Sumter
Fort Sumter is a Third System masonry coastal fortification located in Charleston Harbor, South Carolina. The fort is best known as the site upon which the shots initiating the American Civil War were fired, at the Battle of Fort Sumter.- Construction :...
, which was April 12, 1861. The anchor day for the century was 99 days after Thursday, or, in other words, Friday (calculated as (18+1)*5+floor(18/4); or just look at the chart, above, which lists the century's anchor days). The digits 61 gave a displacement of six days so Doomsday was Thursday. Therefore, April 4 was Thursday so April 12, eight days later, was a Friday.
See also
Calendars:- MonCommon year starting on SaturdayThis is the calendar for any common year starting on Saturday, January 1 . Examples: Gregorian years 1994, 2005, 2011 and 2022...
- TueCommon year starting on SundayThis is the calendar for any common year starting on Sunday, January 1 or for any year in which “Doomsday” is Tuesday. Examples: Gregorian years 1989, 1995, 2006, 2017 and 2023or Julian year 1917...
- WedCommon year starting on MondayThis is the calendar for any common year starting on Monday, January 1 . Examples: Gregorian year 1990, 2001, 2007 and 2018or Julian year 1918 ....
- ThuCommon year starting on TuesdayThis is the calendar for any common year starting on Tuesday, January 1 . Examples: Gregorian years 1985, 1991, 2002, 2013 and 2019or Julian year 1919 .MillenniumCenturyGregorian Year2nd Millennium:...
- FriCommon year starting on WednesdayThis is the calendar for any common year starting on Wednesday, January 1 . Examples: Gregorian years 1986, 1997, 2003, 2014 and 2025or Julian year 1903 ....
- SatCommon year starting on ThursdayThis is the calendar for any common year starting on Thursday, January 1 . Examples: Gregorian years 1987, 1998, 2009, 2015 and 2026...
- SunCommon year starting on FridayThis is the calendar for any common year starting on Friday, January 1 . Examples: Gregorian years 1993, 1999, 2010 and 2021or Julian years 1910 and 1899 ....
– common years with the given Doomsday - MonLeap year starting on FridayThis is the calendar for any leap year starting on Friday, January 1 , such as 1932, 1960, 1988, 2016 or 2044.Previous year | Next yearMillenniumCenturyYear2nd Millennium:18th century:17681796...
- TueLeap year starting on SaturdayThis is the calendar for any leap year starting on Saturday, January 1 , such as 1972, 2000, 2028 or 2056.Previous year | Next year-Trivia:...
- WedLeap year starting on SundayThis is the calendar for any leap year starting on Sunday, January 1 , such as 1956, 1984, 2012, 2040, or 2068.This is the only leap year with three occurrences of Friday the 13th, each three months apart in January, April, and July....
- ThuLeap year starting on MondayThis is the calendar for any leap year starting on Monday, January 1 , such as 1940, 1968, 1996, 2024 or 2052.MillenniumCenturyYear2nd Millennium:18th century: 1720 1748 1776...
- FriLeap year starting on TuesdayThis is the calendar for any leap year starting on Tuesday, January 1 , such as 1952, 1980, 2008, 2036 or 2064.Previous year | Next yearMillenniumCenturyYear2nd Millennium:18th century: 1760 1788...
- SatLeap year starting on WednesdayThis is the calendar for any leap year starting on Wednesday, January 1 , such as 1936, 1964, 1992, 2020 or 2048.This kind of year has 53 weeks in the ISO 8601 week - day format.Previous year | Next yearMillenniumCenturyYear...
- SunLeap year starting on ThursdayThis is the calendar for any leap year starting on Thursday, January 1 , such as 1948, 1976, 2004, 2032 or 2060.Previous year | Next year...
– leap years with the given Doomsday - Ordinal dateOrdinal dateAn ordinal date is a calendar date typically consisting of a year and a day of year ranging between 1 and 366 , though year may sometimes be omitted...
- ComputusComputusComputus is the calculation of the date of Easter in the Christian calendar. The name has been used for this procedure since the early Middle Ages, as it was one of the most important computations of the age....
– Gauss algorithm for Easter date calculation - Zeller's congruenceZeller's congruenceZeller's congruence is an algorithm devised by Christian Zeller to calculate the day of the week for any Julian or Gregorian calendar date.- Formula :For the Gregorian calendar, Zeller's congruence is...
- An algorithm (1882) to calculate the day of the week for any Julian or Gregorian calendar date. - mental calculationMental calculationMental calculation comprises arithmetical calculations using only the human brain, with no help from calculators, computers, or pen and paper. People use mental calculation when computing tools are not available, when it is faster than other means of calculation , or in a competition context...
External links
- COWAFOGO • Weekday Solving Simplified, 2011
- Encyclopedia of Weekday Calculation by Hans-Christian Solka, 2010
- Doomsday calculator that also "shows all work"
- World records for mentally calculating the day of the week in the Gregorian Calendar
- What is the day of the week, given any date?
- Doomsday Algorithm
- Finding the Day of the Week