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.

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.

Does this handle daylight-saving changes?

Both values are treated as local wall-clock times in the same zone, so a clock change inside the span is not added or removed. Use the time-zone converter when a zoned instant matters.

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.