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 →Your result
Illustrative preview · actual search results vary
{"military": "13:45\n12:00 AM\n2359", "decimal-hours": "1.5", "clock-duration": "1:30:00", "iso-duration": "P1DT2H30M\nP1M", "seconds-iso": "90061.5"}13:45
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.