How to use the date difference calculator
- Pick a start date and an end date. Add times if you need exact hours and minutes.
- Tick Include the end date if both the first and last day should count.
- Read the difference in years, months and days, plus total days, weeks, months, business days (with or without federal holidays), hours, minutes and seconds.
How the difference is calculated
Weeks = days รท 7 ยท Hours = days ร 24
Years, months, days: count whole calendar years, then whole months, then remaining days
Worked example
From Thursday, January 1, 2026 to Friday, December 25, 2026:
- 11 months, 24 days, or 358 days (51 weeks and 1 day)
- 359 days if you include December 25
- 256 business days, or 246 after subtracting the 10 weekday federal holidays from New Year's Day to Thanksgiving
- 8,592 hours or 515,520 minutes
Common uses
- Deadlines and notice periods: count calendar or business days to a due date.
- Trips and rentals: count inclusive days.
- Anniversaries and milestones: see exactly how long it's been in years, months and days.
Need a date a set number of days away instead? Use the days from today calculator. For exact ages, use the age calculator, and for hours between clock times, the hours calculator. More date and time calculators.
Sources
Frequently asked questions
How do I calculate the number of days between two dates?
Subtract the earlier date from the later one. From January 1 to December 25, 2026 is 358 days. If you count both the first and last day (for example, days of a trip or an event), add one: 359 days.
Should I include the end date?
It depends on what you're counting. For elapsed time (how long until a date, or someone's age), don't include it. For inclusive periods such as hotel stays, project days or rental days where both the first and last day count, tick 'Include the end date'.
How are business days counted?
Business days are Monday to Friday. The calculator counts weekdays from the start date up to the end date, and can also subtract U.S. federal holidays (observed dates) that fall on weekdays. January 1 to December 25, 2026 has 256 weekdays, or 246 after the 10 federal holidays in that range.
How do you calculate years, months and days between dates?
Count whole years first, then whole months, then the remaining days. Months are counted by calendar date, so January 31 to February 28 is 28 days rather than one month; this matches how ages are calculated.
How many weeks are between two dates?
Divide the total days by 7. 358 days is 51 weeks and 1 day.
Does the calculator handle leap years and daylight saving time?
Yes for leap years: day counts use the real calendar, including February 29. When you add times, the exact hours follow your device's local time, so a range that crosses a daylight saving change can be an hour shorter or longer than days ร 24.