Skip to content

Unix Timestamp Converter

Unix time to a readable date and back, in seconds, milliseconds or nanoseconds, in any time zone.

Convert

Current Unix time
ISO 8601 or RFC 2822. Without a zone, a date-time is read in your time zone (UTC).

Result

Enter a timestamp or a date to see it in every format.

How is this calculated?
date = 1970-01-01T00:00:00Z + timestamp × unit unit: ≤ 11 digits seconds · ≤ 14 milliseconds · ≤ 17 microseconds · otherwise nanoseconds

Runs in your browser — nothing you enter leaves this device.

About this tool

What it does

A Unix timestamp counts time since 00:00:00 UTC on 1 January 1970. Logs, databases, JWTs and APIs store dates this way, but in different units — seconds in most APIs, milliseconds in JavaScript, microseconds in Python and PostgreSQL, nanoseconds in Go and many log systems. This converter reads the unit from the number’s length, shows the moment as a readable date in your time zone with how long ago it was, and lists it as seconds, milliseconds, microseconds, nanoseconds, ISO 8601 and the HTTP date format. It also converts the other way, from a date to a timestamp, and shows the same instant in any time zone with daylight saving applied.

How to use it
  1. To read a timestamp, paste it in “Timestamp → date”. The unit is detected automatically; choose one if yours is unusual.
  2. To make a timestamp, type a date in “Date → timestamp”, such as 2026-09-13T14:30:00+05:30.
  3. Read the result: the local date, a relative time, and every format with a copy button.
  4. Pick another time zone to see the same moment there — useful for scheduling across offices.
  5. Press “Use it” to load the current Unix time.
Limits and your data
  • Unix time ignores leap seconds, as nearly every system does, so it can differ from atomic time by a few seconds.
  • Dates are limited to about 270,000 years either side of 1970 — the range JavaScript can represent.
  • Automatic unit detection assumes dates near the present. A seconds timestamp for the year 5000 has 12 digits and would be read as milliseconds; choose the unit when that matters.
  • A date-time without a zone is read in your device’s time zone, and a date on its own (2026-09-13) as midnight UTC — both as the ECMAScript standard specifies.
  • Time-zone rules come from your browser and can lag behind very recent government changes.
  • All conversion uses your browser’s date and time-zone data. Nothing is sent, and nothing you enter is saved.

Questions

Is my timestamp in seconds or milliseconds?

Count the digits. A current date is 10 digits in seconds and 13 in milliseconds; 16 is microseconds and 19 nanoseconds. The converter shows which unit it used.

What will happen in 2038?

Systems that store Unix seconds in a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038 (2147483647). Modern systems use 64 bits, which lasts far beyond any practical date.

Does a Unix timestamp have a time zone?

No. It’s the same number everywhere at the same instant. Time zones only matter when you display it as a date, which is why this tool can show one timestamp in several zones.

Why is IST +05:30 and not a whole hour?

India Standard Time is defined as 82.5° east of Greenwich, five and a half hours ahead of UTC, and India doesn’t use daylight saving time, so the offset never changes.