toolqik

100 · Date & Time

ISO 8601 Converter

Parse and convert ISO 8601 dates, week dates, ordinal dates and durations.

Runs in your browser

ISO 8601 duration

About this tool

ISO 8601 is the international standard for writing dates and times so that computers and people everywhere read them the same way: year first, then month and day, with an optional time and offset. Paste a date in almost any machine format and this converter shows it in every common format, ready to copy: ISO 8601 in UTC and with an offset, RFC 3339, RFC 2822 (email), HTTP dates, week and ordinal dates, Unix timestamps and SQL.

ISO 8601 forms it understands

FormExample
Calendar date and time, UTC2025-03-14T09:30:00Z
With an offset and fractional seconds2025-03-14T15:00:00.250+05:30
Basic format (no separators)20250314T093000Z
Date only2025-03-14
Week date (year, week, weekday)2025-W11-5
Ordinal date (day of the year)2025-073
DurationP1Y2M10DT2H30M, PT45M, P3W

Times without an offset are “local time” in ISO 8601, so they are interpreted in the time zone you choose. Unix timestamps (10 digits for seconds, 13 for milliseconds) and RFC 2822 dates like Fri, 14 Mar 2025 09:30:00 GMT are accepted too.

ISO 8601 vs. RFC 3339

RFC 3339 is the internet profile of ISO 8601 used by most APIs, JSON and logs. It always requires a full date, time and offset, allows a space instead of T, and drops the rarer ISO forms (week dates, ordinal dates, basic format). Every RFC 3339 timestamp is valid ISO 8601, but not the other way round.

Durations

ISO 8601 durations start with P (period), list years, months, weeks and days, then T and hours, minutes and seconds: PT1H30M is 90 minutes. Note the two meanings of M: months before the T, minutes after. Durations with years or months have no exact length in seconds (months differ in length), so the total is an approximation.

FAQ

What is the ISO 8601 date format?

YYYY-MM-DD for dates and YYYY-MM-DDThh:mm:ss for date and time, followed by Z for UTC or an offset such as +05:30. For example 2025-03-14T09:30:00Z.

What does the T and Z mean in ISO 8601?

T separates the date from the time. Z means the time is in UTC (zero offset), sometimes called Zulu time.

What is an ISO week date?

A date written as year, week number and weekday, such as 2025-W11-5 for Friday of ISO week 11 of 2025. Weeks start on Monday.

How do I read an ISO 8601 duration like P1DT2H?

P starts the duration, 1D is one day, T starts the time part and 2H is two hours: one day and two hours.

How do I convert ISO 8601 to a Unix timestamp?

Paste the date. The Unix timestamp in seconds and milliseconds is listed with the other formats.

esc
↑↓ navigate↵ open