Date Difference
Difference
—Pick a start and an end date.
Pick a start and an end date.
About Date Difference
The difference between two dates depends on what you count. The calculator gives the plain calendar-day gap, the same span as weeks plus days and as years, months and days, and the number of working days.
Days: a straight count of midnight-to-midnight steps, so 1 January to 3 January is 2 days. Tick "include the end date" to count both ends (3 days) — the convention for hotel stays, leave requests and rentals.
Working days: Monday to Friday only. Public holidays differ by country and aren't excluded, so subtract any that fall inside your range.
Years, months, days: stepped through the calendar rather than divided by 30 or 365, so 31 January to 1 March is 1 month and 1 day.
Common questions
- Does the count include both dates?
- By default the difference is measured from the start date to the end date, so 1 to 3 January is 2 days. Tick "include end date" to count it as 3.
- How are working days counted?
- Working days are Monday to Friday. Public holidays vary by country and are not excluded, so subtract any that fall in your range.
- Why does the years-months-days result differ from the total days?
- Because calendar months vary in length. Two months can be 59, 60, 61 or 62 days depending on which months they are, so the two views of the same gap look different.
- How do I count days for a hotel stay or leave request?
- Use the "include end date" option when both the first and last day count, which is the convention for stays, bookings and annual leave.
- Can I enter the dates in either order?
- Yes. If the end date falls before the start date the calculator swaps them and tells you it did, so the result is always a positive duration.
- How many weeks are between two dates?
- The calculator divides the total days by seven and shows the whole weeks plus the leftover days, which is more useful than a decimal number of weeks.
- Does it handle leap years?
- Yes. The count works from real calendar dates, so 29 February is included whenever it falls inside the range.
- How do I calculate a deadline a set number of days away?
- Use the countdown calculator for a future date, or enter today and the target date here to confirm how many working days you actually have.
Written and maintained by Calculatto. Formula and sources last reviewed .