AltUtils

Timestamp Converter

Convert Unix epoch timestamps (seconds or milliseconds) to human-readable dates in any time zone, and dates back to timestamps.

CategoryConverters
Sheet19 / 42
ProcessingIn your browser
Current Unix time
—
 

Timestamp Date

Date Timestamp

Dates without an offset are read in the selected time zone. Strings with “Z”, “+02:00”, “GMT” etc. are absolute. Type “now” for the current time.

Batch conversion

What is the Unix Timestamp Converter?

This Unix Timestamp Converter turns epoch time into readable dates and back. Paste a timestamp in seconds, milliseconds, microseconds or nanoseconds — the unit is detected automatically from the number of digits, or you can set it yourself — and get the date in any IANA time zone as ISO 8601, RFC 2822, HTTP date, SQL DATETIME and a relative description such as “3 hours ago”, plus the weekday, day of the year and ISO week number.

The reverse direction accepts ISO 8601 strings with or without an offset, RFC 2822 dates, and most human-readable formats. Times without an explicit zone are interpreted in the time zone you select — including correct daylight-saving offsets — so you can answer questions like “what is 09:00 in Tokyo as a Unix timestamp?”. Batch mode converts a whole list of timestamps or dates at once, ready to copy into a spreadsheet.

Nanosecond timestamps (19 digits, as used by Go, InfluxDB or OpenTelemetry) are handled with exact integer arithmetic instead of floating point, so no precision is lost. All conversions use your browser's built-in Intl time-zone database and run locally.

Frequently asked questions

What is a Unix timestamp?
The number of seconds that have elapsed since the Unix epoch, 1970-01-01T00:00:00Z, not counting leap seconds. Many systems use milliseconds (JavaScript, Java), microseconds (PostgreSQL, Python's time_ns()/1000) or nanoseconds (Go, Linux) instead.
How do I know if a timestamp is in seconds or milliseconds?
Count the digits: current dates are 10 digits in seconds, 13 in milliseconds, 16 in microseconds and 19 in nanoseconds. The converter applies this rule automatically; choose the unit manually for very old or far-future dates.
Does a Unix timestamp have a time zone?
No. A timestamp identifies the same instant everywhere; only its presentation as a wall-clock date depends on the time zone. That is why APIs and databases store UTC timestamps and convert to local time only for display.
What is the Year 2038 problem?
Systems that store Unix time as a signed 32-bit integer overflow on 2038-01-19T03:14:07Z (timestamp 2147483647) and wrap to 1901. 64-bit timestamps, used by modern operating systems and languages, last for billions of years.
Why is my date shown in 1970?
You probably passed seconds to a system expecting milliseconds, or the value is 0 or empty. A 10-digit seconds value read as milliseconds lands in January 1970.
What is the difference between ISO 8601 and RFC 2822?
ISO 8601 (2024-03-01T14:30:00+01:00) is the machine-friendly, sortable standard used by JSON APIs. RFC 2822 (Fri, 01 Mar 2024 14:30:00 +0100) is the e-mail header format; HTTP uses a related GMT-only form defined in RFC 7231.
Is any data sent to a server?
No. All parsing and formatting happens in your browser using the JavaScript Intl API, so the converter also works offline.