ISO 8601 Parser and Formatter
Parse ISO 8601 calendar, ordinal, and week dates with optional times and offsets, then copy normalized, UTC, and Unix values. Input stays local; time zone names are unsupported.
Accepts calendar (2026-01-15), ordinal (2026-015), and week (2026-W03-4) dates in extended or basic form, with an optional T time (hh:mm[:ss[.fraction]], up to 9 fractional digits) and Z or ±hh:mm offset. Years 0000–9999; no durations, intervals, or time zone names. Limit: 64 characters.
Parsed values
Detected: date-time
- Extended ISO 8601
2026-01-15T09:30:00+05:30- Basic ISO 8601
20260115T093000+0530- Calendar date
2026-01-15- Ordinal date
2026-015- Week date
2026-W03-4- UTC instant
2026-01-15T04:00:00Z- Unix seconds
1768449600- Unix milliseconds
1768449600000