Funsoft โบ Age Calculator โบ Date Difference Calculator
๐ Date Difference Calculator
Days between dates ยท years, months and days ยท weekdays ยท add or subtract
Pick two dates to see the time between them as years, months and days, as total days and weeks, and as weekdays and weekend days. Tick โInclude end dateโ to count both days, as you would for a holiday or an event. Below the calculator you can also add or subtract days, weeks, months or years from a date.
๐งฎ How the difference is counted
The calculator turns each date into a day number and subtracts, so the total days are exact for any two dates in years 1 to 9999, across leap years and month ends. Times of day and daylight saving time play no part: every date counts as a whole calendar day.
- Years, months and days: the whole months from the start date that fit before the end date, split into years and months, plus the days left over. Months are counted from the start date itself (start + 1 month, start + 2 months โฆ).
- Include end date: off by default, so a span from Monday to Tuesday is 1 day. Tick it to count both dates, which makes Monday to Tuesday 2 days.
- Weekdays and weekend days: Monday to Friday and Saturday to Sunday within the same days. Public holidays are not removed.
Worked examples
| From โ to | Result |
|---|---|
| Thursday, November 26, 2026 โ Friday, December 25, 2026 | 29 days (30 counting both dates) ยท 4 weeks and 1 day ยท 21 weekdays |
| November 26, 2026 โ January 1, 2027 | 36 days ยท 1 month and 6 days ยท 26 weekdays |
| March 15, 2026 โ September 15, 2026 | 6 months exactly ยท 184 days ยท 131 weekdays |
| January 31, 2026 โ March 1, 2026 | 29 days ยท 1 month and 1 day (last-day rule) or 1 month exactly (1st-of-next-month rule) |
โ Add or subtract from a date
Find the date a number of days, weeks, months or years before or after a start date โ a deadline 90 days from today, a date 6 weeks ago, or the date 18 years after a birth date.
Years and months are added first (using the month-end rule above), then weeks and days. Example: November 26, 2026 โ 3 months = Wednesday, August 26, 2026; January 31, 2026 + 1 month = February 28, 2026 with the last-day rule or March 1, 2026 with the 1st-of-next-month rule.
๐ Why month-end dates need a rule
A month is not a fixed number of days, so โ1 month after January 31โ has no exact answer. With the default rule, a month that runs out of days ends on its last day; with the other rule, the missing days roll over into the next month. The total number of days is the same either way โ only how it is split into months and days changes.
| From โ to | Last day of month (default) | 1st of next month | Total days |
|---|---|---|---|
| January 31, 2026 โ February 28, 2026 | 1 month, 0 days | 0 months, 28 days | 28 |
| January 31, 2026 โ March 1, 2026 | 1 month, 1 day | 1 month, 0 days | 29 |
| January 31, 2026 โ March 30, 2026 | 1 month, 30 days | 1 month, 29 days | 58 |
| March 31, 2026 โ April 30, 2026 | 1 month, 0 days | 0 months, 30 days | 30 |
| February 29, 2024 โ February 28, 2025 | 1 year, 0 days | 11 months, 30 days | 365 |
Leap years follow the Gregorian rule: divisible by 4, except century years not divisible by 400 (2000 was a leap year, 2100 will not be). Source: Wikipedia, โLeap yearโ, CC BY-SA 4.0.
โ FAQ
How do I count the days between two dates?
Enter the start date and the end date. The calculator turns both into day numbers and subtracts them, so it counts every calendar day from the start date up to, but not including, the end date. From November 26, 2026 to December 25, 2026 that is 29 days.
Should I include the end date?
It depends on what you are counting. For an age, a loan or nights in a hotel, the end date is not included. For a holiday, a festival or the days of a course, both the first and the last day usually count, so tick โInclude end dateโ to add one day. November 26 to December 25, 2026 is 29 days, or 30 days counting both dates.
How are weekdays counted?
Weekdays are Monday to Friday, and weekend days are Saturday and Sunday, counted over the same days as the total. Public holidays are not removed because they differ by country, region and employer, so subtract them yourself if you need working days.
How do you add a month to January 31?
February has no 31st, so a rule is needed. By default this page uses the last day of the month: January 31 plus one month is February 28 (or 29 in a leap year). You can switch to the other common rule, which moves to the 1st of the next month, so January 31 plus one month becomes March 1. The total number of days between two dates is the same under both rules.
Are the dates I enter saved?
No. All calculations run in your browser and the dates are not sent to our server. The dates are written after the # in the page address so you can bookmark or share a result; that part of an address is not sent to the website. Only your choice of month-end rule is remembered on this device.
๐งฐ Date calculators
๐ Try these too
The dates you enter stay in your browser. 6 visits today.