Calculate time duration

Calculate elapsed time between two unambiguous timestamp instants.

Local processing · Nothing is uploaded · 1 MB input limit

Input & settings

Enter the values below. No file is needed.
Ready. Enter your input to begin.

How to use this tool

Provide exact UTC offsets for both instants. The difference is end minus start, including offset changes.

Limits and behavior

Enter YYYY-MM-DDTHH:MM:SS with optional 1–3 fractional second digits and mandatory Z or ±HH:MM. Offset range is ±14:00. Local calendar years are 1900–2100. Invalid dates and leap seconds are rejected. Returned days are elapsed 24-hour periods. Negative durations are supported. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.

Measure elapsed hours, minutes and seconds

Provide two precise timestamps to determine actual elapsed time between them.

Why can elapsed time differ from clock-face time?

Daylight saving and time zone offsets can change elapsed time across local-clock transitions.

Related tools: convert time zones with dst · calculate difference between dates

Built on Hatchable