Home/Date utilities/Hours between dates calculator

Date utilities · Browser calculation

Hours between dates calculator

Measure the elapsed hours between two dates and times, including spans that cross days or months.

01

Enter hours between dates calculator details

02

Hours between the two moments

Local
—

Calculated in this browser. Inputs are not saved by default.

Method

How the hours between dates calculator works

Both values are read as local wall-clock moments and their difference is taken in milliseconds, then expressed in hours, whole hours plus minutes, total minutes and days.

Example

Hours between dates calculator example

09:00 on 2 September to 17:30 on 5 September is 80.5 hours, or 3 days and 8 hours 30 minutes.

Rule

Exact rule used by the hours between dates calculator

Both values are read as local date-times in your browser's time zone. The calculator takes the difference in milliseconds and shows it as decimal hours to two places, whole hours plus minutes, total minutes and decimal days. If the end is earlier, the span is shown as a positive duration with a note.

Because the zone is your device's, a clock change inside the span is part of the answer. In a zone that moves clocks forward, a span across that night is one hour shorter than the wall-clock readings suggest, and across the autumn change it is one hour longer.

Step by step

Worked through step by step

From 08:15 on Monday 9 March 2026 to 16:45 on Tuesday 10 March 2026 is 32.5 hours, shown as 32 hours 30 minutes, 1,950 minutes or about 1.35 days. No clock change falls inside that span in most zones, so the figure is the same everywhere.

Daylight saving changes the picture. From 22:00 on 7 March 2026 to 06:00 on 9 March 2026 the readings are 32 hours apart. In India, with no clock changes, the page shows 32 hours. In New York, where clocks moved forward on 8 March, the real elapsed time is 31 hours. The reverse applies from 22:00 on 31 October to 06:00 on 2 November 2026, which is 33 hours in New York because clocks moved back on 1 November.

Pitfalls

Common mistakes with the hours between dates calculator

  • Paying or billing a shift across a clock-change night from the wall-clock readings. Check whether your local rules count the hour that was skipped or repeated.
  • Entering the start and end in different zones. Both fields are read in your browser's zone, so convert one first with the time zone converter.
  • Mixing 12:00 AM and 12:00 PM. Midnight starting a day is 00:00 and noon is 12:00; a swap shifts the answer by twelve hours.
  • Using the decimal-hours line as hours and minutes. 32.5 hours is 32 hours 30 minutes, not 32 hours 50 minutes.

FAQ

Hours between dates calculator FAQ

Can the span cross months or years?

Yes. Both values carry a full date, so any span can be measured.

What if the end is earlier than the start?

The duration is reported as a positive value and the result notes that the values were entered in reverse order.

Does this handle daylight-saving changes?

It reads both values in your browser's time zone, so a clock change between them is included in the elapsed time. A span over the spring change is an hour shorter than the readings suggest, and over the autumn change an hour longer. To compare moments in different zones, convert one first with the time zone converter.

How many hours are in a week or a day for payroll?

A normal day is 24 hours and a week is 168, but a payroll week with a clock change holds 167 or 169 elapsed hours. Whether the odd hour is paid depends on local labor rules and the employment contract.

More on this topic