UTILITIES · FREE TOOL

Duration & military time converter

Convert clock notation, decimal hours and ISO-style durations while keeping calendar months separate.

On-device processing · No account · No ads

Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.

Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.

See where data goes →
Tool inputs

Up to 500 nonblank lines, 200 characters each, 256 KiB total. Clock fields must be real; 24:00 and leap seconds are rejected. Clock durations allow 9 hour digits and 9 fractional second digits. Decimal numeric inputs allow 30 integer digits and 12 decimal places. Common ISO subset: optional sign, whole Y/M/D/H/M and fractional seconds, or whole weeks alone. No comma decimal separator, mixed weeks or fractional calendar components.

How this tool works

A clock time repeats daily; a duration is an amount of time. Military input HHMM and 24-hour HH:MM[:SS] convert to 12-hour notation with AM/PM, without assigning any date or zone. Midnight is 00:00 / 12:00 AM and noon is 12:00 / 12:00 PM. Duration H:MM is hours:minutes, never minutes:seconds. Decimal hours are multiplied by 3600 with exact rational arithmetic. ISO-style input follows a documented common subset: PnYnMnDTnHnMnS, optional leading minus, or whole PnW alone. M before T is months and M after T is minutes. Years/months remain separate, because their elapsed length depends on a start date and calendar rules. Nominal days are treated as 24 hours for fixed-part conversion, which is not an elapsed local-calendar calculation across daylight-saving changes. A calendar duration such as P1M therefore has no combined seconds result. Downloads preserve exact fractions; decimal-hour previews are rounded and labelled.

Format references: W3C duration component model · RFC 3339 · clocks and duration grammar context. Reviewed October 23, 2026.

Working inputs are held in this page and its temporary local worker. Downloads and clipboard copies persist separately; hosting request logs have their own retention. This tool does not certify data safety or compatibility with every application.