Time Difference Calculator

Compute the duration between any two timestamps. Returns days, hours, minutes, seconds — plus total seconds and the ISO 8601 duration string (PT2H30M). Accepts ISO 8601 dates, Unix timestamps, or any string Date() can parse.

How to use the Time Difference Calculator

Type or paste two timestamps. Accepted formats: ISO 8601 (2026-05-28T12:34:56Z), Unix seconds (1700000000), Unix milliseconds (1700000000000), or human dates (May 28, 2026). The difference updates live; signed (start > end produces negative durations).