Date & Time
Date Difference Calculator (Days Between Dates)
Count the days, weeks, months and years between two dates, including or excluding the end date, and the number of business days.
How to use
- 1Pick a start date and an end date.
- 2Choose whether to count the end date, then read the difference in every unit.
How it's calculated
Days = end − start. 'Include end date' adds one day (useful for durations like hotel stays or leave). Business days exclude Saturdays and Sundays but not public holidays.
Frequently asked questions
Should I include the end date?
Include it when both the first and last day count, like vacation or leave from Monday to Friday (5 days). Exclude it for elapsed time, like nights in a hotel.
Do business days account for public holidays?
No — only weekends are skipped, because holidays differ by country and region. Subtract your local holidays from the result.
How are months counted?
As whole calendar months plus leftover days, so 31 January to 28 February is 0 months and 28 days.
Why 'include end date' changes the answer by exactly one
Plain subtraction (end − start) counts the number of nights between two dates, which is the right answer for something like a hotel stay. It's the wrong answer for something like approved leave, where both the first and last day are days you're actually off — that case needs the +1 that 'include end date' adds. The distinction is easy to get wrong precisely because both interpretations feel natural depending on what you're counting.
Worked example: Date Difference Calculator
From 1 January 2024 to 31 December 2024 (exclusive) is 365 days, 0 years 11 months 30 days, and 261 business days. Flip on 'include end date' and the same range becomes 366 days, exactly 1 year 0 months 0 days, and 262 business days — 2024 is a leap year, so a full calendar year of it really is 366 days when both endpoints count.
Business days only skip weekends, not holidays
The 261/262 business-day figures above exclude Saturdays and Sundays but include every public holiday in the range, like Christmas and New Year's Day, because holiday calendars differ by country and the tool has no way to know which one applies to you. If you need a holiday-adjusted figure, subtract one business day for each public holiday that falls within your date range.
An 'end before start' date doesn't error — it flips the sign instead
Entering 10 March 2024 as the start and 1 March 2024 as the end doesn't throw a validation error — the calculator detects that the end comes first, swaps which date it treats as earlier for the internal math, and then reports the day count as a negative number (-9 days) with the output label changing to 'Days (end is before start)'. That's a deliberate design choice rather than an oversight: it means you can plug in two dates in either order — say, checking how long ago a past deadline was by accident — and still get a sensible, correctly-signed answer instead of a hard stop demanding you re-enter them the 'right' way around.
An empty start date means today
Leave the start date blank and the count begins on today's date rather than refusing to run. The end date opens on 25 December 2026, so the first result you see is the span from today to that Christmas. The years, months, and days line always describes the size of the gap as a positive span. If you put the end date first, the day count, the business-day count, and the hours line all flip negative, but that years-months-days line does not grow a minus sign. Hours are simply the day count times 24, not a separate clock-time measurement. Weeks are whole weeks plus the leftover days, so 10 days reads as 1 week and 3 days rather than a decimal.
Related tools
- Holiday Countdown (Christmas, New Year, Easter…)
How many days until Christmas, New Year, Easter, Halloween, Thanksgiving, Valentine's Day, Mother's Day and more — or a countdown to any date you choose.
- Add or Subtract Days from a Date
Find the date a number of days, weeks, months or business days before or after any date — for deadlines, notice periods and due dates.
- Age Calculator
Calculate exact age in years, months and days from a date of birth — plus total days lived, the next birthday and the day you were born.
- Hours Calculator (Time Between Two Times)
Work out the hours and minutes between two times — overnight shifts, unpaid breaks and decimal hours for timesheets included.
- Time Unit Converter
Convert seconds, minutes, hours, days, weeks, months and years, including milliseconds and microseconds.
- Camera Clock & Time Zone Fixer (Photo Dates)
Fix the date taken in photos from a camera whose clock was wrong, or still on home time while travelling. Shift every photo by a fixed amount or by setting the right time for one photo, optionally record the time zone, and download the corrected JPEGs. Only the date tags change.