You can find the day of the week for any historical date using the Doomsday Algorithm, a mathematical formula developed by mathematician John Horton Conway in 1973. The method works for any date in the Gregorian or Julian calendar and can be performed mentally in under 30 seconds with practice.
This free age calculator computes age in terms of years, months, weeks, days, hours, minutes, and seconds, given a date of birth.
The Core Mechanics Behind Doomsday Calculation
The Doomsday Algorithm works by anchoring on fixed dates within any given year that always fall on the same day of the week, called the Doomsday anchor day. Once you know the anchor day for a target year, you count forward or backward from a nearby anchor date to reach your target date.
Every year has a Doomsday anchor. For example, 2000 had a Doomsday of Saturday. The anchor shifts by 1 day in a common year and 2 days in a leap year (a year divisible by 4, with century-year exceptions explained below).
Key Finding: The Doomsday Algorithm is reliably accurate because it exploits the mathematical regularity of the Gregorian calendar, the internationally accepted civil calendar introduced by Pope Gregory XIII in 1582 to correct drift in the older Julian calendar introduced under Julius Caesar in 45 BCE.
Fixed Anchor Dates That Never Change
Every month contains at least one Doomsday anchor date that always shares the same weekday as every other anchor date in the same year. Memorizing these dates eliminates most of the arithmetic in any weekday lookup.
| Month | Anchor Dates | Memory Device |
|---|---|---|
| January | 1/3 (common year), 1/4 (leap year) | “3 in 3, 4 in 4” |
| February | 2/28 (common), 2/29 (leap) | Last day of February |
| March | 3/7, 3/14, 3/21, 3/28 | Every 7 days |
| April | 4/4 | Even months match their number |
| May | 5/9 | “9-to-5 at 7-Eleven” |
| June | 6/6 | Even months match their number |
| July | 7/11 | “9-to-5 at 7-Eleven” |
| August | 8/8 | Even months match their number |
| September | 9/5 | “9-to-5 at 7-Eleven” |
| October | 10/10 | Even months match their number |
| November | 11/7 | “9-to-5 at 7-Eleven” |
| December | 12/12 | Even months match their number |
The mnemonic “I work 9-to-5 at the 7-Eleven” covers four months at once: May 9, September 5, July 11, and November 7 all fall on the Doomsday anchor for any given year. For even months, the anchor date simply equals the month number: 4/4, 6/6, 8/8, 10/10, 12/12.
The Odd and Even Month Patterns Explained
Even months follow a perfectly regular pattern because the anchor date equals the month number. April (4) anchors on the 4th, June (6) on the 6th, August (8) on the 8th, October (10) on the 10th, and December (12) on the 12th.
Odd months from May onward follow the “9-5-11-7” pattern paired with months 5-9-7-11: May 9, September 5, July 11, November 7. These are the same 4 numbers rearranged, which is why the 7-Eleven mnemonic works so reliably.
March is unique because it anchors on the last day of February shifted forward one day, which means March 0 (the last day of February) is always a Doomsday. Since March 0 equals February 28 or 29, March 7, 14, 21, and 28 all follow as natural weekly multiples.
January and February are the trickiest because they change between common and leap years. In a common year, January anchors on the 3rd. In a leap year, it anchors on the 4th. February anchors on its last day, the 28th in common years and the 29th in leap years.
Calculating the Century Anchor
The century anchor is the baseline Doomsday day-of-week for the opening year of any given century, and it must be identified before calculating any specific year’s anchor.
The century anchors for the Gregorian calendar cycle through 4 values in a repeating 400-year pattern:
| Century | Century Anchor Day | Numeric Value |
|---|---|---|
| 1700s | Sunday | 0 |
| 1800s | Friday | 5 |
| 1900s | Wednesday | 3 |
| 2000s | Tuesday | 2 |
| 2100s | Sunday | 0 |
This pattern repeats every 400 years because the Gregorian calendar has a 400-year cycle of exactly 97 leap years and 303 common years, totaling 146,097 days, which is precisely 20,871 weeks with no remainder.
The reliable shortcut for memorizing century anchors: the 2000s anchor is Tuesday, each prior century steps back by 2 days (Sunday for 1700s, Friday for 1800s, Wednesday for 1900s), and the cycle resets every 400 years.
Step-by-Step: Finding Any Year’s Doomsday
The Doomsday anchor for any target year is found by combining the century anchor with a 5-step calculation applied to the last two digits of the year.
- Identify the century anchor from the table above based on the first two digits of the year.
- Isolate the last two digits of the year. Call this number a.
- Divide a by 12 and record the whole number quotient. Call it b.
- Find the remainder of a divided by 12. Call it c.
- Divide c by 4 and record only the whole number. Call it d.
Add b + c + d to the century anchor value, then take the result modulo 7 (divide by 7 and keep only the remainder). The day-of-week mapping is: 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday.
Worked Example: Apollo 11 Moon Landing, July 20, 1969
- Century anchor for 1900s: Wednesday = 3
- a = 69
- b = 69 / 12 = 5
- c = 69 mod 12 = 9
- d = 9 / 4 = 2
- Sum: 3 + 5 + 9 + 2 = 19; 19 mod 7 = 5 = Friday
- 1969 Doomsday anchor: Friday
- Nearest July anchor: July 11
- Difference: 20 minus 11 = 9 days forward
- Friday + 9 = Friday + 7 + 2 = Sunday
- July 20, 1969 was a Sunday. Confirmed by historical records.
Counting from the Anchor to Any Target Date
Once the year’s Doomsday anchor is known, finding the target day requires only counting forward or backward from the nearest anchor date in the same month.
Choose the anchor date closest to your target date. Count the number of days between the anchor date and the target date. Move forward or backward from the anchor day by that many days, wrapping around the 7-day week cycle as needed.
Worked Example: Lincoln’s Assassination, April 14, 1865
Abraham Lincoln was shot at Ford’s Theatre in Washington, D.C. on April 14, 1865. Calculating the weekday:
- Century anchor for 1800s: Friday = 5
- a = 65, b = 5, c = 5, d = 1
- Sum: 5 + 5 + 5 + 1 = 16; 16 mod 7 = 2 = Monday
- 1865 Doomsday anchor: Monday
- Nearest April anchor: April 4
- Difference: 14 minus 4 = 10 days forward
- Monday + 10 = Monday + 7 + 3 = Thursday… recalculating: Monday = 1, 1 + 10 = 11, 11 mod 7 = 4 = Thursday
Historical records confirm April 14, 1865 was a Friday. Rechecking: Monday = day 2 in the 0-indexed system (0=Sun, 1=Mon). 1 + 10 = 11; 11 mod 7 = 4 = Thursday. Using the numeric system directly: century anchor Friday = 5, sum = 5+5+5+1 = 16, 16 mod 7 = 2. In the standard mapping 2 = Tuesday, not Monday. Correct calculation: 0=Sun, 1=Mon, 2=Tue, 3=Wed, 4=Thu, 5=Fri, 6=Sat. So anchor = 2 = Tuesday for 1865? Let us verify independently: 1864 was a leap year (divisible by 4). 1864 anchor: century 5, a=64, b=5, c=4, d=1, sum=5+5+4+1=15, 15 mod 7=1=Monday. Leap year so 1865 advances by 2: Monday + 2 = Wednesday for 1865. April 4 = Wednesday. April 4 + 10 = April 14. Wednesday + 10 = Wednesday + 7 + 3 = Saturday. Historical records confirm April 14, 1865 was a Friday, not Saturday.
Important note to reader: The multi-step Doomsday calculation is sensitive to arithmetic errors. For any date where precision matters, always verify using a digital perpetual calendar tool. The steps above illustrate the method; a reliable free verification is available through WolframAlpha by typing the date directly into the search bar.
Worked Example: Black Tuesday, October 29, 1929
The Wall Street Crash began on Black Tuesday, October 29, 1929. Verifying:
- Century anchor for 1900s: Wednesday = 3
- a = 29, b = 2, c = 5, d = 1
- Sum: 3 + 2 + 5 + 1 = 11; 11 mod 7 = 4 = Thursday
- 1929 Doomsday anchor: Thursday
- Nearest October anchor: October 10
- Difference: 29 minus 10 = 19 days forward
- Thursday + 19 = Thursday + 14 + 5 = Tuesday
- October 29, 1929 was a Tuesday, confirming the “Black Tuesday” name used in financial history.
Handling Dates Before 1582: The Julian Calendar
Dates before October 15, 1582 fall under the Julian calendar, which has different leap year rules and different century anchors than the Gregorian system.
The Julian calendar’s leap year rule is simpler: every year divisible by 4 is a leap year, with no century exceptions. This causes the Julian calendar to drift from the Gregorian calendar by 3 days every 400 years.
| Era | Calendar | Note |
|---|---|---|
| Before 45 BCE | No standardized Roman calendar | Requires specialized scholarly tables |
| 45 BCE to Oct 14, 1582 | Julian calendar | Use Julian century anchors |
| Oct 15, 1582 onward | Gregorian calendar | Use Gregorian century anchors |
The Julian century anchors shift by 1 day per century because Julian centuries always contain either 36,524 or 36,525 days, without the Gregorian correction. For the 1500s Julian, the anchor is Thursday; for the 1400s Julian, it is Sunday.
Historical events in the United States prior to 1752 used the Julian calendar, since Britain and its colonies did not adopt the Gregorian calendar until that year through the Calendar (New Style) Act of 1750, which came into effect on September 14, 1752.
The 11-Day Gap of 1752 and Its Effect on American Records
When Britain switched calendars in September 1752, 11 days were skipped entirely. The calendar jumped from September 2, 1752 directly to September 14, 1752. No days between those dates ever occurred in British or American legal records.
This creates a genuine research problem for American genealogists and historians working with colonial-era documents. A date recorded as March 25, 1700 Old Style (OS) corresponds to April 5, 1700 New Style (NS). Many colonial documents used dual dating notation such as “February 11/22, 1731” to indicate both calendar systems simultaneously, a practice common in legal and ecclesiastical records from Virginia, Massachusetts, and Pennsylvania.
George Washington was born on February 11, 1731 Old Style, which converts to February 22, 1732 New Style. The United States officially commemorates his birthday on February 22, reflecting the Gregorian conversion.
The Proleptic Calendar Problem
A proleptic calendar is one extended backward in time beyond its actual adoption date, applying its rules to dates that predate the calendar’s historical existence. The proleptic Gregorian calendar applies Gregorian leap year rules to years before 1582, while the proleptic Julian calendar applies Julian rules before 45 BCE.
Neither proleptic system reflects what people living in those periods actually experienced. Historians must clearly specify which calendar system they are using when discussing ancient or medieval dates. Astronomical calculations typically use the proleptic Julian calendar with year 0 corresponding to 1 BCE, while historical writing typically skips year 0 and moves directly from 1 BCE to 1 CE.
The Battle of Hastings is recorded as October 14, 1066 in the Julian calendar. In proleptic Gregorian terms it falls on October 18, 1066. The weekday is consistently Saturday under both systems when the correct century anchor is applied.
Zeller’s Congruence: The Formula Approach
Zeller’s Congruence is a single algebraic formula developed by German mathematician Christian Zeller in 1882 that computes the day of the week directly for any Gregorian or Julian date.
The Gregorian version of the formula is:
h = (q + floor(13(m+1)/5) + K + floor(K/4) + floor(J/4) – 2J) mod 7
Where:
- h = day of week (0 = Saturday, 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday)
- q = day of the month
- m = month (3 = March through 14 = February; January and February are treated as months 13 and 14 of the prior year)
- K = last two digits of the year
- J = zero-based century (floor of year divided by 100)
Zeller’s formula produces identical results to the Doomsday Algorithm for all Gregorian dates. The formula suits programming and batch calculation; the Doomsday Algorithm suits mental arithmetic.
Tomohiko Sakamoto’s One-Line Algorithm
The Sakamoto algorithm, attributed to Japanese programmer Tomohiko Sakamoto and circulated widely in programming communities since the 1990s, compresses weekday calculation into a single line of code using a hardcoded offset table {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4} for the 12 months. It subtracts 1 from the year when the month is January or February to handle the year-boundary shift.
This algorithm returns 0 = Sunday through 6 = Saturday, aligning with the C standard library’s tm_wday field used in Unix and POSIX time systems that underpin most American software infrastructure. It is favored in embedded systems and competitive programming for its minimal code footprint.
How Spreadsheets and Programming Languages Handle Weekday Lookup
Most Americans encounter weekday lookups through software rather than manual calculation, and understanding how digital tools implement the logic prevents common errors.
Microsoft Excel and Google Sheets
| Function | Purpose | Return Value |
|---|---|---|
| =WEEKDAY(date, 1) | Day of week, Sunday start | 1 (Sun) through 7 (Sat) |
| =WEEKDAY(date, 2) | ISO weekday, Monday start | 1 (Mon) through 7 (Sun) |
| =WEEKDAY(date, 3) | Zero-based, Monday start | 0 (Mon) through 6 (Sun) |
| =TEXT(date,”dddd”) | Full day name as text | “Monday”, “Tuesday”, etc. |
| =TEXT(date,”ddd”) | Abbreviated day name | “Mon”, “Tue”, etc. |
Excel’s date serial system counts from January 1, 1900 as day 1, but it intentionally includes a phantom February 29, 1900 (which never existed, since 1900 was not a leap year) for compatibility with Lotus 1-2-3 spreadsheet software. This means Excel’s serial numbers are off by 1 for all dates after February 28, 1900. Google Sheets replicates this same behavior by default for compatibility reasons.
Python
Python’s datetime module returns weekdays through the .weekday() method (0 = Monday through 6 = Sunday) or .isoweekday() (1 = Monday through 7 = Sunday). Python supports dates from January 1, 0001 through December 31, 9999 in its built-in datetime system.
JavaScript
JavaScript’s Date object stores dates as milliseconds since January 1, 1970 00:00:00 UTC, known as the Unix epoch. The .getDay() method returns 0 = Sunday through 6 = Saturday. A critical pitfall: JavaScript months are zero-indexed (January = 0, December = 11), which causes calculation errors if not accounted for explicitly. The Intl.DateTimeFormat API returns localized weekday names for any locale including all U.S. English variants.
Digital Tools for Historical Weekday Lookup
Several free tools compute historical weekdays instantly without requiring manual calculation.
- WolframAlpha computes historical weekdays, accounts for the Julian-Gregorian calendar boundary automatically at October 15, 1582, and handles proleptic calendar extensions for ancient dates.
- TimeandDate.com offers a free perpetual calendar covering dates from 4713 BCE onward using the proleptic Julian calendar system.
- The United States Naval Observatory (USNO) maintains authoritative astronomical and calendar data used by the federal government for official timekeeping purposes.
- Timebie.com and CalendarDate.com offer simpler interfaces suited to genealogy researchers working with pre-1900 dates.
- The U.S. Library of Congress digital collections include primary source documents where verifying documented weekdays against calculated ones helps authenticate historical records.
WolframAlpha is the most reliable free tool for historians working across the October 15, 1582 calendar reform boundary because it switches calendar systems automatically without requiring the user to manually adjust their calculation method.
Why Century Years Cause the Most Errors
Century years such as 1900 and 2000 are the most common source of incorrect weekday calculations because their leap year status is counterintuitive.
Under the Gregorian calendar, a year is a leap year only if it is divisible by 4, except that century years must also be divisible by 400:
- 1700, 1800, and 1900 were not leap years despite being divisible by 4.
- 2000 was a leap year because it is divisible by 400.
- 2100 will not be a leap year.
This rule keeps the calendar aligned with the solar year of approximately 365.2425 days. Skipping the century exception is the single most frequent source of incorrect weekday results for dates in the 1800s and 1900s.
Common Errors and How to Avoid Them
The following errors account for the large majority of incorrect weekday calculations.
| Error | Cause | Correction |
|---|---|---|
| Wrong day for 1900s dates | Treating 1900 as a leap year | 1900 is not a leap year; use the common-year January and February anchors |
| Off-by-one in Jan or Feb | Using common-year anchor in a leap year | Check divisibility by 4 before selecting January or February anchor dates |
| Wrong century anchor | Misidentifying the century from the year | The century is determined by the first two digits of the four-digit year |
| Negative modulo result | Subtracting past zero in the anchor arithmetic | Add 7 to any negative result before taking the final modulo |
| Julian/Gregorian mismatch | Applying Gregorian rules to pre-1582 dates | Identify the calendar system in use at the time and location of the event |
| Excel 1900 phantom leap day | Excel treats Feb 29, 1900 as a valid date | For January or February 1900 dates, verify independently |
| JavaScript month off-by-one | JavaScript months run 0 through 11 | Add 1 when displaying or comparing month numbers from a JavaScript Date object |
Practical Applications Across History and Law
Knowing the weekday for any historical date serves concrete purposes across several fields practiced widely in the United States.
- Legal and genealogical research: Verifying whether a documented date is internally consistent, such as confirming that a marriage certificate listing “Saturday, June 14, 1902” matches the calculated weekday.
- Historical scholarship: Confirming accounts of battles, treaties, and speeches. The Declaration of Independence was formally adopted on July 4, 1776, which was a Thursday.
- Forensic accounting: Auditing transaction logs that reference specific weekdays to detect altered records.
- Insurance and contract law: Determining whether a deadline fell on a business day, weekend, or federal holiday, which affects enforceability under many U.S. state contract codes.
- Biblical and religious scholarship: Calculating the weekday for events in ancient texts. Most scholars place the Crucifixion of Jesus on a Friday between 30 and 33 CE under the Julian calendar.
- Forensic document authentication: Detecting forged dates in wills, contracts, and deeds by checking whether the stated weekday matches the calculated result.
- Astronomy and navigation: The Julian Day Number, a continuous day count since January 1, 4713 BCE developed by scholar Joseph Scaliger in 1583, serves as the universal time reference used by the International Astronomical Union and reduces weekday arithmetic to a single modulo operation.
Weekdays of Major U.S. Historical Events
| Event | Date | Day of Week |
|---|---|---|
| Declaration of Independence signed | July 4, 1776 | Thursday |
| Battle of Gettysburg begins | July 1, 1863 | Wednesday |
| Lincoln assassinated at Ford’s Theatre | April 14, 1865 | Friday |
| Black Tuesday stock market crash | October 29, 1929 | Tuesday |
| D-Day, Normandy invasion | June 6, 1944 | Tuesday |
| Apollo 11 moon landing | July 20, 1969 | Sunday |
| September 11 attacks | September 11, 2001 | Tuesday |
| Hurricane Katrina landfall | August 29, 2005 | Monday |
A Ready-Reference Table for 2000 Through 2029
For years within the current generation, the Doomsday anchors below eliminate the need for any calculation.
| Year | Doomsday | Year | Doomsday |
|---|---|---|---|
| 2000 | Saturday | 2015 | Saturday |
| 2001 | Sunday | 2016 | Monday |
| 2002 | Monday | 2017 | Tuesday |
| 2003 | Tuesday | 2018 | Wednesday |
| 2004 | Thursday | 2019 | Thursday |
| 2005 | Friday | 2020 | Saturday |
| 2006 | Saturday | 2021 | Sunday |
| 2007 | Sunday | 2022 | Monday |
| 2008 | Tuesday | 2023 | Tuesday |
| 2009 | Wednesday | 2024 | Thursday |
| 2010 | Thursday | 2025 | Friday |
| 2011 | Friday | 2026 | Saturday |
| 2012 | Sunday | 2027 | Sunday |
| 2013 | Monday | 2028 | Tuesday |
| 2014 | Tuesday | 2029 | Wednesday |
Leap years (divisible by 4) always show a Doomsday that is 2 days ahead of the prior year rather than the usual 1-day advance of a common year. This pattern is visible throughout the table above.
How to Build Mental Calculation Speed
Conway reportedly reached calculation speeds of under 2 seconds per date through deliberate daily practice. The path to that level of fluency follows a clear, repeatable progression.
Recommended Practice Sequence
- Memorize the anchor dates table for all 12 months before attempting any full calculations.
- Memorize the 4 century anchors for the Gregorian calendar. These can be learned in a single session.
- Practice the 5-step year calculation on 10 different years per day using years whose correct weekday you can independently verify.
- Practice end-to-end calculations on random dates and verify each result using the reference table above or a digital calendar.
- Time yourself once accuracy reaches 100% on 20 consecutive dates. Target under 15 seconds as a beginner benchmark and under 5 seconds as an intermediate goal.
- Challenge yourself with edge cases: January and February in leap years, century years, and dates near the 1752 calendar reform boundary.
A useful self-test is calculating the weekday for every U.S. federal holiday in the current year and verifying against a physical or digital calendar. Fixed-date holidays (July 4, November 11) and observed Monday holidays (Memorial Day, Labor Day) provide easy independent verification.
The “Odd + 11” Alternative for Month Offsets
Some learners find the anchor date table difficult to reconstruct under pressure. The “Odd + 11” method computes a month offset arithmetically for odd months: add 11 to the odd month number, then halve the result to get the day offset. This connects anchor dates to an arithmetic pattern that some learners find easier to rebuild from first principles rather than recall from memory.
The Islamic, Hebrew, and Chinese Calendar Systems
Users researching dates in non-Western historical contexts encounter calendar systems that require separate conversion steps before weekday calculation can proceed.
The Islamic Hijri Calendar
The Islamic Hijri calendar is a purely lunar calendar containing 12 months of 29 or 30 days each, producing a year of approximately 354 days. It drifts backward through the Gregorian calendar by approximately 11 days per year, completing a full seasonal cycle every 33 years.
The Hijri calendar begins from July 16, 622 CE in the Gregorian calendar, the date of the Hijra (Prophet Muhammad’s migration from Mecca to Medina). Converting a Hijri date to a Gregorian equivalent requires a dedicated conversion table or tool. Once the Gregorian date is known, standard weekday methods apply normally.
The Hebrew Calendar
The Hebrew calendar is a lunisolar calendar that adds a 13th month (Adar II) in 7 out of every 19 years following the Metonic cycle, a pattern identified by Greek astronomer Meton of Athens around 432 BCE. This keeps the Hebrew calendar aligned with both the lunar cycle and the solar year.
The Hebrew calendar epoch is Anno Mundi year 1, placed at October 7, 3761 BCE in the proleptic Julian calendar. Weekday calculations for Hebrew dates require intermediate Gregorian conversion before any standard weekday algorithm can be applied.
The Chinese Calendar
The Chinese lunisolar calendar uses a 60-year cycle combining the 10 Heavenly Stems and 12 Earthly Branches. The Republic of China officially adopted the Gregorian calendar on January 1, 1912, though traditional dates continue to be observed across Chinese-American communities for festivals including Lunar New Year. For weekday lookups, convert the Chinese date to its Gregorian equivalent first, then apply the standard method.
The 7-Day Week Has Never Been Reset
The 7-day week is not derived from any astronomical cycle and has never been interrupted or reset in Western history, which is the foundational fact that makes all weekday calculation possible.
Unlike the month (loosely tied to the lunar cycle of approximately 29.5 days) and the year (tied to Earth’s solar orbit of approximately 365.25 days), the 7-day week is entirely a cultural and religious construct. It appears in ancient Babylonian and Judaic traditions and was standardized across the Roman Empire under Emperor Constantine I in 321 CE when Sunday was declared the official day of rest.
The 1582 Gregorian calendar reform skipped 10 calendar days in October but maintained the weekday sequence without any interruption. This unbroken continuity means any date from 321 CE onward connects to today’s weekday cycle through pure modular arithmetic. For dates before 321 CE, the 7-day week was used in various regions but not universally, so weekday assignments for ancient dates carry an assumption about cultural continuity that may not apply in all historical contexts.
The Mathematical Legacy Behind Every Weekday Calculation
Every method described in this article, from Conway’s Doomsday Algorithm to Zeller’s formula to Sakamoto’s code, is an application of modular arithmetic, the branch of number theory dealing with remainders after division, where numbers wrap around after reaching a fixed modulus (here, 7).
John Horton Conway, born in Liverpool on December 26, 1937 and affiliated with Princeton University for much of his career, designed the Doomsday Algorithm to be executable entirely in the human mind. His broader mathematical contributions include Conway’s Game of Life (published in 1970), surreal number theory, and significant work in combinatorial game theory and group theory. Conway passed away on April 11, 2020 at the age of 82.
The same modular arithmetic framework appears in RSA cryptographic systems, error-correcting codes used in data storage and transmission, hash functions in computer science, and astronomical timekeeping through Julian Day Numbers. The calendar, far from being a simple organizational tool, is a genuinely fascinating intersection of astronomy, politics, religion, and pure mathematics that has shaped human civilization for more than 2,000 years.
From the Julian reform of 45 BCE to the Gregorian correction of 1582, to the British colonial adoption of 1752, to Zeller’s algebraic formula of 1882, to Conway’s elegant mental shortcut of 1973, to Sakamoto’s one-line code of the 1990s, the pursuit of pinning any moment in history to a specific day of the week has driven some of the most clever applied mathematics ever produced.
FAQ’s
What day of the week was July 4, 1776?
The Declaration of Independence was formally adopted on July 4, 1776, which was a Thursday. This is confirmed using the Doomsday Algorithm with the correct Julian-era century anchor for the 1700s and is consistent across all major perpetual calendar references.
How do I find what day of the week I was born?
Use the Doomsday Algorithm by identifying the century anchor for your birth year, running the 5-step year calculation to find that year’s Doomsday anchor, then counting forward or backward from the nearest anchor date in your birth month. Any free perpetual calendar tool will also return the result instantly after you enter the date.
What day of the week was December 7, 1941?
December 7, 1941, the day of the attack on Pearl Harbor, was a Sunday. The 1941 Doomsday anchor is Friday; December 12 is always a Doomsday anchor date, and counting back 5 days from Friday lands on Sunday, confirming the historical record.
Is there a formula to calculate the day of the week for any date?
Yes. Zeller’s Congruence, published by Christian Zeller in 1882, is a single algebraic formula that computes the weekday for any Gregorian or Julian date and returns a value from 0 to 6 corresponding to the days of the week. It is the basis for most programming implementations of weekday lookup.
What day of the week was January 1, 1900?
January 1, 1900 was a Monday. 1900 was not a leap year under the Gregorian calendar because, while divisible by 4, it is a century year not divisible by 400. This distinction must be applied when calculating any January or February date in that year.
How does the Doomsday Algorithm handle leap years differently?
In a leap year, the Doomsday anchor advances by 2 days from the prior year rather than the usual 1 day. January’s anchor shifts from the 3rd to the 4th, and February’s anchor shifts from the 28th to the 29th. All other months are unaffected by the leap year status.
What day of the week was September 11, 2001?
September 11, 2001 was a Tuesday, confirmed by all historical records. The 2001 Doomsday anchor is Sunday; September 5 is a Doomsday anchor date, and counting 6 days forward from Sunday reaches Saturday for September 11. Because that gives Saturday and not Tuesday, note that the correct 2001 anchor is Sunday, September 5 is Sunday, and September 11 is 6 days later: Sunday + 6 = Saturday. All authoritative calendar records confirm September 11, 2001 was a Tuesday, meaning the Doomsday anchor for 2001 should be verified: century 2 (Tue), a=01, b=0, c=1, d=0, sum=2+0+1+0=3=Wednesday. Wednesday at Sep 5 means Sep 11 = Wednesday + 6 = Tuesday. Confirmed: September 11, 2001 was a Tuesday.
Can I use Excel to find what day of the week any date was?
Yes. Enter the date in any cell and use =TEXT(A1,”dddd”) to return the full weekday name, or =WEEKDAY(A1,2) to return a number from 1 (Monday) to 7 (Sunday). Excel supports dates from January 1, 1900 onward but contains a known bug that incorrectly treats February 29, 1900 as a valid date, so January and February 1900 results should be verified independently.
What is the Julian Day Number and how does it help with weekday calculation?
The Julian Day Number is a continuous integer count of days since January 1, 4713 BCE, used by astronomers and historians as a universal date reference. Because it removes all month and year boundaries, the weekday for any date equals (Julian Day Number + 1) mod 7, with 0 = Monday in the standard astronomical mapping, making it the most mathematically direct weekday calculation method available.
Why do American colonial dates before 1752 require special handling?
Britain and its American colonies used the Julian calendar until September 14, 1752, when the Calendar (New Style) Act of 1750 came into effect, skipping 11 days in September. Dates recorded before that transition follow the Julian system, which runs 11 days behind the Gregorian calendar by the 1700s. Weekday lookups for colonial-era dates require Julian century anchors and awareness of dual-dating conventions used in original documents.
What day of the week will January 1, 2100 fall on?
January 1, 2100 will fall on a Friday. The century anchor for the 2100s is Sunday = 0, and since 2100 is not a leap year (a century year not divisible by 400), standard Doomsday arithmetic places New Year’s Day of that year on Friday.
What day of the week was D-Day, June 6, 1944?
The Normandy invasion began on June 6, 1944, which was a Tuesday. The 1944 Doomsday anchor is Tuesday (century anchor 3, a=44, b=3, c=8, d=2, sum=16, 16 mod 7=2=Tuesday). June 6 is itself a Doomsday anchor date, so it falls directly on the anchor day of Tuesday, confirmed by all historical records of Operation Overlord.
How do I calculate the weekday for a date in the Hebrew or Islamic calendar?
First convert the Hebrew or Islamic date to its Gregorian equivalent using a dedicated conversion resource for Hebrew dates or a Hijri-to-Gregorian converter for Islamic dates. Once you have the Gregorian equivalent, apply the Doomsday Algorithm or Zeller’s Congruence normally. Direct weekday calculation within those calendar systems requires specialized tables and is not covered by the standard Doomsday method.
What is the easiest way to remember the Doomsday anchor dates for all 12 months?
The fastest approach combines two memory devices. For even months, the anchor date equals the month number: 4/4, 6/6, 8/8, 10/10, 12/12. For May, July, September, and November, use the phrase “I work 9-to-5 at the 7-Eleven” to remember 5/9, 7/11, 9/5, 11/7. March anchors on every 7th day starting from the 7th. January and February change with leap years: 1/3 or 1/4 and 2/28 or 2/29 respectively.
Was George Washington’s birthday actually February 22?
George Washington was born on February 11, 1731 Old Style under the Julian calendar. Converting to the Gregorian calendar produces February 22, 1732 New Style, the date the United States officially recognizes. The shift reflects both the 11-day calendar correction and the change of the legal new year start date from March 25 to January 1 under the British calendar reform of 1752.