Date to Date Calculator (Duration). Enter a start date and an end date to calculate the exact duration between two dates. Your results show the difference broken down into years, months, weeks, and days — plus the total count in days, weeks, and months separately. Toggle include end date to count that final day in the result. Also try the Time Between Dates Calculator.
Need to know how long it is from one date to another? The Date to Date Calculator (Duration) turns two dates into the exact gap, down to hours, minutes and seconds. This free calculator works as a date duration calculator and a time duration calculator in one: you enter your start and finish, and it reports the days between two dates as a plain day total. See also our calculate Time Adder Total Duration (HH:MM:SS).
Using the Date to Date Calculator (Duration): Start Date and End Date
Follow these steps and the duration calculator does the rest:
Choose your start date with the date picker, or press the button for today.
Choose your end date the same way. If it falls before the start, swap them so the time difference stays positive.
Add a clock time to each if you need the result down to the minute, then read the answer in days, hours and minutes.
Tick the option to include the final date when you want both ends counted, for example a rental that charges for the pickup and return dates. Results are also shown as a calendar breakdown and in smaller units, so you can pick the unit your plan needs.
How the Time Between Two Dates Is Calculated
Under the hood, the tool converts each date and time into a single timestamp and subtracts one from the other, which gives the exact time in seconds. That elapsed time is then regrouped into units people use. It works with 24-hour time internally, so 5:40 PM becomes 17:40 and a 12-hour entry never causes a mix-up. Because subtraction is the core step, a small borrow is needed when the end minutes are lower than the start minutes: you take one hour, add 60 minutes and carry on.
$$\text{duration} = \text{end} - \text{start}$$
Years, Months and Days Breakdown
A month is not a fixed length, so the calendar walk moves forward from the start by whole years, then whole months, and keeps the leftover days. Lengths of 28 to 31 days are why a month count and a daily count never line up neatly, and why a year is 365 days in most cases and 366 in a leap one.
Total Days, Total Hours and Total Minutes
For billing and planning you usually want one number, not a mixed one. Divide the seconds by 86,400 for days, by 3,600 for hours, or by 60 for minutes. The result also reads as days, hours and minutes in one line, such as 3 days, 4 hours and 10 minutes.
Decimal Hours for Timesheets
Payroll and invoices want a single figure, so convert minutes by dividing by 60 and adding the hours: 6 hours 45 minutes is 6.75 hours. This is the figure to use for hours worked on timesheets and for billing a client.
Worked Example: Finding the Number of Days
Say a landscaping crew starts a job on 12 September 2025 at 8:15 AM and finishes on 4 March 2026 at 5:40 PM. For your project schedule you need the gap between the two moments, plus the totals in smaller units.
Result
Value
Years, months, days
0 years, 5 months, 20 days
Total days (whole)
173 days
Full duration
173 days, 9 hours, 25 minutes
Total hours
4,161.42 hours
Total minutes
249,685 minutes
Full weeks
24 weeks and 5 days
Check it by hand: five months take you from 12 September to 12 February, then 20 more days reach 4 March. The 9 hours 25 minutes come from the clock times: 8:15 AM to 5:40 PM is 9:25, and no borrow is needed. A job that started and ended on the same day would need only that clock subtraction, and because this one spans less than a year, the year part stays at zero. Use this as a model for any schedule, and compare the totals with a time between dates calculator if you want a second opinion. You might also find our Date to Date (with Time) Calculator useful.The worked example on a timeline: 5 months plus 20 days is 173 days.
Elapsed Time Across Leap Years: Calendar and ISO 8601 Rules
Every calendar-based tool follows the Gregorian calendar, which adds a leap day in February in every year divisible by 4, except century years not divisible by 400. A leap year therefore changes the day total: 2024 had 366 days, while 2100 will have 365. The standard ISO 8601 writes dates with the largest unit first (2026-03-04), which removes confusion between regional habits. Keep that in mind for an age, a birthday or anniversaries, where a single leap day can change the count of days by one.
Checking a 75-Day Warranty with a Time Between Dates Calculator
My neighbour's espresso grinder dies, and the retailer's warranty covers exactly 75 days from delivery. The question is simple: is the claim still valid? The courier's receipt says it arrived on 17 June 2026 at 10:30 PM, and the motor failed on 29 August 2026 at 6:10 AM.
I open the Date to Date Calculator (Duration), enter 17 June 2026 as the start date with 22:30, then 29 August 2026 as the end date with 06:10. The result: 72 days, 7 hours, 40 minutes, which is 1,735.67 total hours. Both moments sit near midnight, which is exactly where a rough days-between-dates count slips: subtracting the calendar dates alone gives 73 days, a full day too generous.
Against the 75-day cap, the claim is valid with 2 days 16 hours 20 minutes to spare. I cross-check by adding 75 days to the delivery timestamp by hand: 17 June plus 30 days is 17 July, plus 31 is 17 August, plus 14 more is 31 August at 10:30 PM. That is the true deadline, and 29 August sits comfortably before it.
Count method
Elapsed time
Margin left
Full timestamps
72 d 7 h 40 min
2 d 16 h 20 min
Calendar dates only
73 days
2 days
The sensitivity matters: if the failure had been reported on 31 August at 9:00 AM, the dates-only method would still say 75 days and look borderline, while the timestamps show 74 d 10 h 30 min, still valid. The number to watch is the delivery time, not just the date. One caveat: the window has no clock change, but a warranty spanning a daylight saving shift should be verified against local time on the receipt. My call: file today and keep the courier receipt.
Business Days and Time Zones When Finding Days Between Dates
A plain duration counts every date, but contracts often care only about business days. In the example above, the 173 calendar days contain 123 weekdays and 50 days that fall on weekends. Public holidays are not removed automatically because they differ by country, so subtract your own holiday count from the weekday figure.Weekdays versus weekend days by month for the same range.
The time zones are a separate trap. Both times are treated as local time in the same place, so when the two points sit in a different time zone, convert one first. A daylight saving change can add or remove an hour, which means a clock change inside your range makes the real elapsed hours differ by one from the face-value subtraction.
Common Uses and Mistakes with a Time Duration Calculator
Lease and contract terms, where the start and finish decide a one-week or one-month notice period.
Travel and event planning, including a countdown to a departure.
A work shift with an unpaid break, which you subtract from the total.
The usual mistake is counting a date range inclusively without noticing: 1 to 10 March is 9 days apart but 10 days if you count both ends. Decide which you need before you read the result, and check the number once against a calendar.
Across Midnight and Same-Day Shifts
A night shift from 10:00 PM to 6:00 AM crosses midnight, so enter the actual finish date rather than the starting one. Done that way, the result is 8 hours, and the tool does not return a negative number. When both times fall within a single date, the answer is simply the later clock time minus the earlier one. Check out our calculate Elapsed Time as well.