Find the number of days between two dates, or add/subtract days, weeks, months, or years from a date.
| Property | Value |
|---|---|
| Start date | November 15, 2026 (Sunday) |
| End date | December 15, 2026 (Tuesday) |
| Total days | 30 |
| Weeks and days | 4w 2d |
| Years, months, days | 0y 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.
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).
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.
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.
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.
No. Every calendar day is counted. For working days, subtract weekends by hand or use the Hours Calculator for time-sheet work.
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.