ISO 8601 Timestamp Converter

Current Unix Time
Advertisement

ISO 8601 Timestamp Converter

ISO 8601 is the international standard for representing dates and times. You'll recognize it by its distinctive format: 2026-04-17T10:35:00Z. The standard defines a hierarchy of date and time components separated by specific delimiters, with the T separating date from time and Z (or a numeric offset like +02:00) indicating the timezone.

ISO 8601 timestamps are used in JSON APIs (most REST APIs return datetimes in this format), HTML <time> elements, HTTP headers (Last-Modified, Date), OpenAPI specifications, and log formats like structured JSON logging. Converting between ISO 8601 and Unix timestamps is a routine task whenever you're working at the boundary between human-readable output and internal timestamp storage.

ISO 8601 format variations

Date only: 2026-04-17
Date and time (local): 2026-04-17T10:35:00
Date and time (UTC): 2026-04-17T10:35:00Z
With offset: 2026-04-17T12:35:00+02:00
With milliseconds: 2026-04-17T10:35:00.000Z
Week date: 2026-W16-5 (less common)

Parse ISO 8601 in code

JavaScript: new Date('2026-04-17T10:35:00Z').getTime() / 1000
Python: datetime.fromisoformat('2026-04-17T10:35:00+00:00').timestamp()
Go: time.Parse(time.RFC3339, '2026-04-17T10:35:00Z')

Use the date string parser in section 2 of this page to convert any ISO 8601 string to a Unix timestamp instantly.

Advertisement
// Epoch → Human-readable date

Auto-detects seconds (10 digits), milliseconds (13), microseconds (16), nanoseconds (19)

Invalid timestamp. Please enter a numeric Unix timestamp.
// Date → Epoch timestamp
Please check the values — year (1970–9999), month (1–12), day (1–31), hour (0–23), min/sec (0–59).

Or paste a date string:

Could not parse that date string.
Advertisement

← Back to all tools

Copied!