Date Difference Calculator
Enter two dates. The tool shows the gap as years, months and days, and also as total days, weeks and days, and hours.
Use the tool
Why this tool exists
Contract periods, notice dates, trial lengths, project timelines and holiday countdowns all come down to the same question: how long between these two dates? Counting on a calendar works for a week or two and then breaks down, because months have different lengths and a leap year hides an extra day. This tool gives the answer in two ways. The calendar form (years, months, days) reads naturally, while the total days figure is the one to use in formulas and legal deadlines. If you enter the dates in the wrong order, it swaps them and says so. For working days only, use the business days calculator. The dates stay in your browser.
How to use it
- Pick the From date.
- Pick the To date.
- Read the difference in years, months and days, plus total days, weeks and hours.
Frequently asked questions
Does it matter which date comes first?
No. If the first date is later, the tool swaps them and marks the result as 'dates swapped'. The difference is always shown as a positive span.
Is the end date counted?
The result is the elapsed difference, so Monday to Tuesday is 1 day. To count both ends, add one day. The business days tool has an option to include the end date.
How are months and days calculated?
Whole calendar months are counted first, then the remaining days, borrowing from the month before the end date when needed. This is the usual approach but can differ by a day from other conventions.
Do time zones or daylight saving matter?
No. Dates are treated as plain calendar days, so clock changes do not alter the total. The hours figure is simply days times 24.