Date difference calculator
Count the days between two dates, also shown as weeks and as years, months and days. Optionally include the end date.
Runs in your browser. Nothing you enter is uploaded.
What it does
This tool counts how long it is between any two dates: total days, weeks and days, and years, months and days. Use it for the time left until an event, the length of a stay or project, or the gap between two family dates.
How to use it
- Pick the first date.
- Pick the second date. If it is earlier than the first, the tool swaps them and tells you.
- Tick the box if the last day should be counted too, as when counting the days of a trip.
Worked example
From 26 January 2026 to 15 August 2026 is 201 days: 28 weeks and 5 days, or 6 months and 20 days. Including the end date it is 202 days.
How it works
Both dates are treated as calendar dates at midnight UTC, so daylight-saving changes never add or remove an hour. Total days is the difference divided by the length of a day. The years, months and days figure counts whole years first, then whole months, then the remaining days.
Questions
Does it count working days?
No. It counts every calendar day, including weekends and holidays.
Should I include the end date?
For a duration, such as a hotel stay counted in nights, leave it unticked. To count days on which something happens, such as leave from Monday to Friday, tick it.
Are leap years handled?
Yes. The real calendar is used, so 29 February is counted in leap years.