Find the exact time between any two dates, in years, months and days, plus the total days, weeks, months and hours.
Put in any two dates and this tool gives you the exact gap between them, in years, months and days, plus the totals in months, weeks, days and hours. There is also a switch to count the final day or leave it out, depending on what you are measuring.
Counting days inclusive vs exclusive of the end date
By default the tool counts the gap between the two dates, which is the exclusive way, so 1 January to 3 January comes to 2 days. Turn on counting both end dates and it switches to the inclusive way, which adds the final day and makes the same span 3 days. Inclusive counting suits things like a leave period or a hotel stay, where the last day counts; exclusive suits a plain gap. Either way, the order of the dates does not change the answer.
Frequently asked questions
How many days are there between two dates?
Just enter both dates and the tool gives you the gap in years, months and days, plus the totals in months, weeks, days and hours. Leap years and month lengths are handled for you.
What is the difference between inclusive and exclusive counting?
Exclusive counts the gap between the dates and is the default, so 1 January to 3 January is 2 days. Inclusive adds the final day, making it 3 days, which suits spans like leave or a stay where the last day counts.
How many months are there between two dates?
The tool counts the full calendar months and shows the leftover days, along with the total months. For example, 15 March to 10 June is 2 months and 26 days, not quite 3 months.