By Iqbal Hussain, Founder and calculator developer · Formulas checked against worked examples · Last updated
Hours Between Dates and Times Calculator
Calculate elapsed hours across calendar dates.
How Hours Between Dates and Times Calculator Works?
The Hours Between Dates and Times Calculator works by converting a start date-time and an end date-time into timestamps, then dividing the difference by 3,600,000 milliseconds to get elapsed hours.
- 1
Pick the start date and time
Select a calendar date and clock time, for example March 3 at 8:00 AM.
- 2
Pick the end date and time
Select the end date and time, for example March 5 at 2:30 PM. The end can fall on any later day, month, or year.
- 3
Read hours and days
The calculator returns 54h 30m (54.50 hours) and 2.27 days for the March 3 to March 5 example.
Hours Between Dates and Times Calculator Formula
The Hours Between Dates and Times formula is Hours = (Days Between × 24) + (End Clock Hours − Start Clock Hours).
- End Date − Start Date: number of calendar days between the 2 dates.
- 24: hours in 1 calendar day (1,440 minutes or 86,400 seconds).
- End Time − Start Time: clock difference in decimal hours; the value is negative when the end clock time is earlier than the start clock time.
Example: June 10 at 9:00 PM to June 12 at 6:00 AM gives 2 × 24 + (6 − 21) = 48 − 15 = 33 hours (1,980 minutes or 1.375 days).
Hours Between Dates and Times Calculator Conversion Table
The Hours Between Dates and Times conversion table shows 8 date-time ranges and their elapsed hours, minutes, and days.
| Start | End | Hours | Minutes | Days |
|---|---|---|---|---|
| Mon 9:00 AM | Mon 5:00 PM | 8 | 480 | 0.33 |
| Mon 9:00 AM | Tue 9:00 AM | 24 | 1,440 | 1.00 |
| Mon 6:00 PM | Tue 6:00 AM | 12 | 720 | 0.50 |
| Mon 8:00 AM | Wed 8:00 PM | 60 | 3,600 | 2.50 |
| Fri 5:00 PM | Mon 9:00 AM | 64 | 3,840 | 2.67 |
| Day 1 12:00 AM | Day 8 12:00 AM | 168 | 10,080 | 7.00 |
| Day 1 10:30 AM | Day 3 4:45 PM | 54.25 | 3,255 | 2.26 |
| Day 1 12:00 PM | Day 31 12:00 PM | 720 | 43,200 | 30.00 |
What is Hours Between Dates and Times Calculator?
The Hours Between Dates and Times Calculator is a duration tool that counts total elapsed hours between 2 points that sit on different calendar dates. The calculator handles spans of hours, days, weeks, or months.
A same-day time calculator cannot count past midnight more than once. The Hours Between Dates and Times Calculator reads the full date, so a Friday 5:00 PM to Monday 9:00 AM span returns 64 hours instead of a wrong 16-hour value.
What are the uses of Hours Between Dates and Times Calculator?
There are 5 main uses of the Hours Between Dates and Times Calculator, including delivery tracking, rental billing periods, and on-call coverage.
-
Delivery tracking
Logistics teams measure the 52 hours between a Tuesday 7:00 AM dispatch and a Thursday 11:00 AM arrival.
-
Rental periods
Car and equipment rental desks count hours from pickup to return, for example 75.5 hours over 3 days.
-
On-call coverage
Support engineers total a weekend on-call block from Friday 6:00 PM to Monday 8:00 AM as 62 hours.
-
Project deadlines
Project leads count hours left between a kickoff timestamp and a due date timestamp.
-
Medical intervals
Caregivers measure the hours between doses or since a procedure, such as 36 hours since a 10:00 PM surgery.
Hours Between Dates and Times Calculator FAQ
How do I use the Hours Between Dates and Times Calculator?
1. Pick the start date and time: Select a calendar date and clock time, for example March 3 at 8:00 AM. 2. Pick the end date and time: Select the end date and time, for example March 5 at 2:30 PM. The end can fall on any later day, month, or year. 3. Read hours and days: The calculator returns 54h 30m (54.50 hours) and 2.27 days for the March 3 to March 5 example.
What formula does the Hours Between Dates and Times Calculator use?
The Hours Between Dates and Times formula is Hours = (Days Between × 24) + (End Clock Hours − Start Clock Hours). In short: Hours = (End Date − Start Date) × 24 + (End Time − Start Time).
Can you show a worked example?
June 10 at 9:00 PM to June 12 at 6:00 AM gives 2 × 24 + (6 − 21) = 48 − 15 = 33 hours (1,980 minutes or 1.375 days).