10 tools
Formatting & parsing
Render an instant in any pattern or locale, and read one back out of text. Each tool has its own page. It runs in your browser, and it keeps its inputs in the address bar so you can share the answer.
The tools
Format a date or time in any pattern or locale, convert it to ISO 8601, RFC 3339 or RFC 2822, and parse dates and times back out of free-form text.
Date FormatterOne date, every common output at once — ISO, RFC, SQL, filename-safe, spoken English — plus a pattern field for anything the list does not cover.
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.
ISO Date ConverterThe extended form, the basic form, the week date and the ordinal date — all four ISO 8601 shapes for one instant, plus a parser for reading them back.
RFC3339 ConverterThe internet's profile of ISO 8601 — what JSON APIs, logs and every timestamp field in an RFC actually mean — with the differences from plain ISO spelled out.
RFC2822 ConverterThe email and HTTP form — `Tue, 16 Jul 2024 16:00:00 +0000` — with the HTTP variant beside it, which is the same idea with different rules.
Custom Date FormatterWrite a pattern in strftime or moment tokens and watch it render live, with a clickable reference and a set of presets to start from.
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 ParserClock times, durations and offsets, parsed and explained — including the forms that look alike and mean different things, like `PT1H30M` and `01:30`.
Locale Date ConverterThe same date in dozens of locales — short, medium, long and full — so you can see what your users will actually read, and where the ambiguity lies.
Locale Time ConverterThe same time across locales — 12-hour and 24-hour, with the separators, the day-period words and the zone names each language actually uses.