Count days between two dates, including business days, weekends, and customized holidays.
About the Day Counter
The Day Counter is a free, high-precision calendar planning tool built to evaluate time intervals between dates. This tool does more than count total calendar days; it categorizes periods into working business days, weekends, and selected holiday exclusions. Whether you are tracking a project timeline, counting down to a family milestone, or managing delivery schedules, this counter provides instant answers.
By default, the days calculator processes a standard Monday-to-Friday workweek (with Saturday and Sunday defined as the weekend). It features customizable settings to exclude public holidays and let you control whether the end date is included in the final tally.
How to Use the Day Counter
This system features two practical modes of calculation to suit different scheduling requirements:
Mode 1: Calculate Days Between Two Dates
Select your Start Date and End Date. Use the “Settings” menu to toggle federal or custom holidays on or off, and check “include end day” if your target deadline falls on the final day’s close.
Mode 2: Offset Days from a Target Date
Input a starting date and add or subtract a specific number of days. Checking the “count business days only” box directs the calculator to skip weekends, finding the exact business delivery date.
Identifying the Day of the Week: The Doomsday Rule
Determining the day of the week for any historical or future date is a classic calendar math problem. While the calculator processes this instantly, mathematicians use an elegant mental algorithm developed by John Conway known as the Doomsday Rule. With a little practice, this rule allows you to calculate the day of the week for any date mentally.
1. Understanding “Doomsdays”
The algorithm relies on specific anchor dates—called “doomsdays”—that always fall on the exact same day of the week in any given year. While this day of the week changes from year to year, the relationships between these dates remain constant. The table below outlines the doomsdays for each month of the year:
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/3* | 2/28* | 3/14 | 4/4 | 5/9 | 6/6 | 7/11 | 8/8 | 9/5 | 10/10 | 11/7 | 12/12 |
*Note: In leap years, the January doomsday shifts to 1/4, and the February doomsday shifts to 2/29.
To make these dates easier to memorize, notice that all even months after February have doomsdays on their corresponding double-digit dates (4/4, 6/6, 8/8, 10/10, 12/12). For the odd months, you can use the mnemonic “I work from 9 to 5 at 7-11.” This aligns September (9/5) with May (5/9) and July (7/11) with November (11/7).
2. Centuries and Anchor Days
The doomsday of any individual year is calculated relative to its century’s “anchor day.” Because the Gregorian calendar operates on a 400-year cycle, you only need to memorize the anchor days for four consecutive centuries:
| 1900s | 2000s | 2100s | 2200s |
|---|---|---|---|
| Wednesday (3) | Tuesday (2) | Sunday (0) | Friday (5) |
Days of the week are assigned numerical values from 0 to 6, beginning with Sunday as 0, Monday as 1, and ending with Saturday as 6.
3. The Doomsday Algorithm Steps
To find the day of the week for any date, perform these sequential arithmetic steps:
- Identify the anchor day value ($a$) for the given century.
- Take the last two digits of the year and divide them by 12. Let $b$ equal the whole quotient (disregarding the remainder).
- Let $c$ equal the remainder of that division ($y \pmod{12}$).
- Divide that remainder $c$ by 4. Let $d$ equal the whole quotient (disregarding the remainder).
- Calculate the sum: $e = a + b + c + d$.
- Simplify the sum by subtracting multiples of 7 until the remainder $f$ is 6 or less ($f = e \pmod 7$). This value $f$ represents the day of the week on which doomsday falls for that year.
- Locate the closest doomsday in the target month and count the days separating it from your date to find the final day of the week.
Using the Doomsday steps:
2. Divide the year’s last two digits by 12: $92 / 12 = 7$ with a remainder of 8. Thus, $b = 7$.
3. The remainder is 8: $c = 8$.
4. Divide $c$ by 4: $8 / 4 = 2$. Thus, $d = 2$.
5. Sum the values: $e = a + b + c + d = 5 + 7 + 8 + 2 = 22$.
6. Simplify modulo 7: $f = 22 \pmod 7 = 1$. (A value of 1 represents Monday, meaning all doomsdays in 2292 fall on a Monday).
7. Identify the closest doomsday in March: March 14 (3/14).
8. Since March 14 is a Monday, March 15 is exactly one day later: $1 + 1 = 2$ (Tuesday).
Therefore, March 15, 2292, is mathematically proven to be a Tuesday.
🔗 Related Calendars & Time Utilities
💡 Practical Day Counter Tips
- To find accurate business-day intervals for shipping, project management, or legal filings, remember to verify whether public holidays should be excluded using the “Settings” panel.
- When calculating days from a date, remember that if the “count business days only” option is enabled, the calculator will skip weekends and skip your defined holidays automatically, moving the end date forward as needed.
- Bookmark this page to quickly verify delivery timelines, pregnancy milestone dates, or project sprint durations on any device.
📚 Authoritative Math Resources