Duration Formatter

Turn any span of seconds, minutes, hours or days into a readable duration and back, with a millisecond-precision breakdown and total-unit readouts.

Writing & textDurationTimeFormatHh Mm Ss
Duration Formatter screenshot

Give it a number of seconds and it answers in six registers at once: the breakdown into days, hours, minutes and seconds; the same thing spelled out in words; an ISO-8601 duration; a clock-style HH:MM:SS that wraps at 24 hours the way a clock does; and a table placing the duration against minutes, hours, eight-hour work days, forty-hour work weeks and Julian years of 365.25 days. Fractions are carried on the smallest unit instead of being rounded away, and a negative duration keeps its sign once, in front of the whole value.

DAYS TO SECONDS ISO 8601 IN WORDS

One number in seconds, six ways out. The clock wraps at 24 hours by design — it is a clock reading, not a duration — while the unit table keeps carrying into days, weeks and Julian years. Fractions stay on the smallest unit rather than being rounded away, and a negative input carries its sign once, in front, instead of negating every field.

Breakdown
Encodings
Same duration in other units

More tools