What is an ISO 8601 timestamp, and how does it relate to Unix time?
ISO 8601 writes a moment as 2026-09-23T10:15:00+03:00 — largest unit first, with an explicit UTC offset or Z — so it sorts as text and is unambiguous across locales; RFC 3339 is the Internet profile APIs use. Unix time is the same moment as a count of seconds (or milliseconds in JavaScript) since 1970-01-01T00:00:00Z, with no time zone at all. Most date bugs are an offset applied twice or a local time stored as if it were UTC.
+03:00 offset, the same moment in UTC with Z, and a count of Unix seconds that has no time zone at all.ISO 8601 (Asia/Riyadh)
Part 1:2024-03-15T
ISO 8601 (UTC)
2024-03-15T
Seconds
Part 6:1710498600
- 1Calendar date, largest unit firstYear, month, day: the text sorts in time order.
- 2Wall-clock time at that offsetWhat a clock in Riyadh shows:
13:30. - 3UTC offsetThe difference from UTC in hours and minutes, not a zone name; the tool derives it for this instant from
Asia/Riyadh. - 4The same moment in UTCSubtract the offset once:
13:30 − 03:00 = 10:30. - 5
Z: UTC, offset zero - 6Seconds since
1970-01-01T00:00:00ZNo time zone at all. JavaScript counts milliseconds:1710498600000
Values are the tool’s output for the example 1710498600 in Asia/Riyadh. Subtracting the offset a second time gives 07:30: the offset-applied-twice bug.
How to use Timestamp Converter
- Paste a timestamp or a date string.
- Leave the unit on Auto-detect or choose one explicitly.
- Select the timezone in which you want to read the result.
- Copy any of the formats or the epoch values.
Timestamp Converter features
- Auto-detects seconds, milliseconds, microseconds and nanoseconds
- Accepts ISO 8601, RFC 2822, "now" and common date strings
- ISO (UTC and zoned), RFC 2822, human-readable local and UTC, relative time
- Epoch in s, ms, µs and ns; weekday, day of year, ISO week, quarter and leap-year flag
- Any IANA timezone with the current offset and abbreviation
- Live conversion and a one-click "Use current time"
Timestamp Converter example
Epoch seconds to Riyadh time
Input:
1710498600 · Asia/RiyadhOutput:
Friday, 15 March 2024 at 13:30:00 GMT+3
ISO (UTC): 2024-03-15T10:30:00.000Z
RFC 2822: Fri, 15 Mar 2024 13:30:00 +0300Frequently asked questions about Timestamp Converter
How does the unit auto-detection work?
By magnitude: values below 10^11 are seconds, below 10^14 milliseconds, below 10^17 microseconds and anything larger nanoseconds. Override it with the unit selector when converting historic or far-future dates.
Which date formats are accepted?
Epoch numbers, ISO 8601 / RFC 3339 (2024-03-15T10:30:00Z, with offsets and fractions), RFC 2822 (Fri, 15 Mar 2024 10:30:00 +0300), the word "now" and most formats the browser can parse.
What timezone is used for strings without an offset?
The timezone selected in the tool (your local zone by default). Add Z or +03:00 to the string to make it unambiguous.
Why is the nanosecond value padded with zeros?
JavaScript dates have millisecond precision. Microsecond and nanosecond outputs are exact multiples of the millisecond value; sub-millisecond digits from your input are not preserved.
Technical notes
All calendar arithmetic uses Intl.DateTimeFormat.formatToParts for the selected zone; offsets are derived by comparing the zoned wall-clock time with the UTC instant, which correctly reflects daylight-saving rules without any bundled timezone database.
References
- RFC 3339: Date and Time on the Internet: TimestampsThe Internet timestamp profile of ISO 8601 (2026-09-23T10:15:00Z) and its offset rules.
- ISO 8601 — Date and time formatThe international standard for writing dates, times, durations and intervals unambiguously.
- Date — JavaScript reference — MDNHow JavaScript represents time as milliseconds since the Unix epoch and parses ISO 8601 strings.