Dates & time

Elapsed time between dated instants

Compare two ISO date-times with explicit UTC offsets.

Elapsed time between dated instants
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Validates full Gregorian date-times with whole seconds and an explicit Z or numeric UTC offset no greater than ±14:00. Converts to UTC before subtracting, allowing signed results and differing offsets. Every duration day is 86,400 seconds. The numeric offset is supplied by you; geographic daylight-saving rules and leap seconds are not inferred.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Start (YYYY-MM-DDTHH:MM:SSZ or ±HH:MM)
2026-10-25T00:30:00+01:00
End (YYYY-MM-DDTHH:MM:SSZ or ±HH:MM)
2026-10-25T02:30:00+00:00

Example result

Elapsed seconds
10,800
Elapsed hours
3
Fixed 24-hour days
0.125
Day-time duration
PT3H
Start in UTC
2026-10-24T23:30:00.000Z
End in UTC
2026-10-25T02:30:00.000Z