CAL-010
Date & Time Difference Calculator
Two dates, and every reasonable way of describing the gap between them: in years, months and days the way a person would say it, as a flat count of days, as working days only, and as hours and minutes if the time of day matters.
- Free
- No signup
- Private · runs locally
Difference
8 hours
- Total days
- 0
- Weekdays
- 0
- Full weeks
- 0
- Total hours
- 8
- Total minutes
- 480
Monday to Friday
How to use it
- Pick the first date, and the time if you need it.
- Pick the second date. The order does not matter; the tool says so and counts the gap either way.
- Untick the time box if you only care about whole days.
- Read the phrase at the top for the human answer, and the figures underneath for the exact counts.
Why counting days is harder than it looks
The obvious method, subtracting one timestamp from the other and dividing by the number of milliseconds in a day, is wrong twice a year. The day a clock goes forward is 23 hours long and the day it goes back is 25, so that division produces 0.96 of a day or 1.04 of a day instead of exactly one.
This counts calendar days on the calendar instead, which is what someone means when they ask how many days there are between two dates. Only the hours and minutes come from arithmetic.
Months are handled the same way. There is no average month here: the tool borrows the real length of the month it is borrowing from, which is why 31 January to 1 March is not the same count as 31 March to 1 May.
Frequently asked questions
Are both the start and end date counted?
The total days figure is the gap between them, so 1 March to 3 March is 2 days. If you are counting days of an event and want both ends included, add one.
What counts as a weekday?
Monday to Friday. Public holidays are not excluded, because they differ by country and often by region within a country. For an exact working-day count against a specific calendar, subtract the holidays yourself.
Does it handle leap years?
Yes. Days are counted on the calendar, so 29 February is counted when it exists and is not when it does not.
What if the second date is earlier than the first?
It still works. The tool says it is counting backwards and gives the size of the gap, rather than showing a negative number you have to interpret.
Read more
Background on when and why to use this.
Related tools
Other tools people use alongside the Date Difference.
- CAL-011Time Zone ConverterSee what time it is somewhere else, for any date, with daylight saving handled.Open
- CAL-009Compound Interest CalculatorSee what savings grow to, with regular contributions and any compounding frequency.Open
- CAL-012Unit ConverterConvert length, weight, volume, area, speed and temperature between metric and imperial.Open
Browse all business & finance calculators or see every tool.