Date Calculator

Find the number of days between two dates, or add/subtract days, weeks, months, or years from a date.

Calculate

Days Until
30
0 years, 1 month, 0 days

Results

PropertyValue
Start dateNovember 15, 2026 (Sunday)
End dateDecember 15, 2026 (Tuesday)
Total days30
Weeks and days4w 2d
Years, months, days0y 1m 0d

In Britain, 2 September 1752 was followed directly by 14 September, because the Calendar (New Style) Act 1750 dropped eleven days to move to the Gregorian calendar. Nobody lived through those eleven days, but a naive day counter would still count them. This date calculator uses the modern Gregorian calendar for every date it is given, with leap years included, so it is accurate for current dates and a poor guide for historical dates before a country made the switch. It has two tabs: Days Between Dates, and Add / Subtract.

Day counts, month clamping and a leap-year test

Total days = (end date − start date) ÷ 86,400,000 milliseconds, rounded to a whole day, with both dates taken at local midnight. The end date is not counted, so March 3 to March 4 is 1 day. The page also splits the same gap into weeks and days, and into years, months and days by stepping forward whole months from the start date and counting the remaining days. When a month is too short for the start day, the day is clamped to the month's last day, so January 31 plus one month is the last day of February.

Sensitivity of the answer to one input. January 1 to March 1 is 59 days in 2027 but 60 days in 2028, purely because 2028 is a leap year (divisible by 4, and century years only count when divisible by 400). Adding one month to January 31, 2027 gives February 28, 2027 (Sunday), but the same step in 2028 gives February 29, 2028 (Tuesday). Adding 30 days instead of one month to January 31, 2028 gives March 1, 2028 (Wednesday), and to January 31, 2027 gives March 2, 2027 (Tuesday). Months and 30-day blocks are different units.

Worked example. In Days Between Dates, set Start Date March 3, 2025 and End Date June 20, 2025. March 3 plus three whole months is June 3, and June 3 to June 20 is 17 more days, so the page shows 0y 3m 17d. The total is 28 days left in March after the 3rd, plus 30 in April, 31 in May and 20 in June: 109 days, shown as 15w 4d. Because the end date is later, the big number is labelled Days Until; with the dates reversed it would read 109 under Days Since.

Add / Subtract does the reverse. Starting from October 15, 2026, adding 12 weeks gives January 7, 2027 (Thursday), and adding 3 months gives January 15, 2027 (Friday).

How to Use This Calculator

  1. On the Days Between Dates tab, pick a Start Date and an End Date. They begin at today and 30 days from today, and the results appear as soon as both are valid.
  2. Read the big number (Days Until, or Days Since if the end is earlier), then the Results table with total days, weeks and days, and years, months and days.
  3. Switch to the Add / Subtract tab, choose a Starting Date, Direction (Add or Subtract), an Amount and a Unit of Days, Weeks, Months or Years.
  4. Read the Result Date, which includes the weekday, for example June 20, 2025 (Friday).
  5. If a red message appears, fix the field it names. It needs a whole-number Amount of 0 to 1,000,000, and every date must be between the years 100 and 9999.

Frequently Asked Questions

Is the end date counted in the total?

No. The total is the difference between the two dates, so the same date twice is 0 and consecutive dates are 1. If you need both ends counted, such as a booking that includes the first and last night, add 1 to the number shown.

Why do I get a different answer adding 1 month and adding 30 days?

A month is a calendar step that keeps the day number where it can, while 30 days is a fixed count. Starting at January 31, 2027, one month gives February 28 and 30 days gives March 2.

What happens when I add a year to February 29?

The day is clamped to the last day of February in the target year. February 29, 2028 plus 1 year is February 28, 2029, and plus 4 years is February 29, 2032.

Does it skip weekends or holidays?

No. Every calendar day is counted. For working days, subtract weekends by hand or use the Hours Calculator for time-sheet work.

What if I enter a negative amount or 2.5 months?

The page shows Enter an amount of 0 or more. for negatives and Enter a whole number for the amount. for decimals. Use the Direction menu to go backwards, and convert 2.5 months to days or weeks yourself.