Time Parser
Read a time out of any text
Clock times, durations and offsets, parsed and explained — including the forms that look alike and mean different things, like `PT1H30M` and `01:30`.
Questions people ask
The things that come up about time parsers, answered plainly.
What is PT1H30M?
An ISO 8601 duration: one hour thirty minutes. The P starts a period and the T separates the time part, so P1DT2H is one day and two hours. It is a duration, not a time of day — the distinction matters when both appear in the same API.
Can it read '2h30m' or '90 minutes'?
Yes, along with '1:30', '1.5h' and 'an hour and a half'. Every reading is shown in milliseconds so you can check it did what you meant.
Related tools
Render an instant in any pattern or locale, and read one back out of text.
Date ParserPaste anything that looks like a date and see what it resolves to — and, more usefully, why: which format matched, what was assumed, and what else it could have been.
Time String ValidatorChecks a time of day against the standard — including the edge cases that are legal and surprising, like 24:00 and the leap-second 23:59:60.
Time Formatter24-hour, 12-hour, with and without seconds, with an offset, as a duration — every reasonable rendering of a time of day, side by side.
Duration CalculatorA duration in every unit from nanoseconds to decades, with the approximate ones flagged as approximate — because a month has no fixed length and any tool that pretends otherwise is guessing.