Skip to content
Devlar

Runs in your browser. Your input stays on your device.

Unix Timestamp Converter

Convert Unix time to readable dates in any time zone, and dates back to Unix time. The unit is detected from the number of digits, nanosecond values keep full precision, and daylight saving gaps are explained rather than hidden.

Current Unix time

Seconds

 

Milliseconds

 

Time zone

Timestamp to date

Date to timestamp

Enter a date and time in the selected time zone, or paste an ISO 8601 date (with an offset or Z it ignores the time zone selector).

or

Privacy: This tool runs in your browser. Your input is processed on your device and is never uploaded to a server.

How to use

  1. The current Unix time is shown at the top in seconds and milliseconds; select Copy next to either value to use it.
  2. Choose a time zone. It starts as your own and is used for both conversions below.
  3. To read a timestamp, paste it into Timestamp to date. The unit (seconds, milliseconds, microseconds, or nanoseconds) is detected from the number of digits; change it in the Unit menu if the guess is wrong.
  4. To create a timestamp, enter a date and time (read in the selected time zone), or paste an ISO 8601 date such as 2025-03-04T14:30:00Z.
  5. Copy any result with the Copy button beside it.
  6. Both converters update as you type, so there is no Run button and no Run shortcut. Press ? (outside a text field) to see the keyboard shortcuts.

Example

A 10-digit timestamp, detected as seconds and shown in UTC and in Asia/Karachi.

Input
1700000000
Output
Detected unit: seconds
UTC: 2023-11-14 22:13:20 UTC
ISO 8601 (UTC): 2023-11-14T22:13:20.000Z
Asia/Karachi: 2023-11-15T03:13:20.000+05:00
RFC 2822: Wed, 15 Nov 2023 03:13:20 +0500

Frequently asked questions

What is the year 2038 problem?

Many older systems store Unix time as a signed 32-bit number of seconds, which can count up to 2,147,483,647. That limit is reached at 03:14:07 UTC on 19 January 2038; one second later the number wraps around to a large negative value, which those systems read as December 1901. Most modern operating systems, databases, and languages now use 64-bit time, but embedded devices, old file formats, and some database columns still use 32 bits. This converter marks any timestamp outside the 32-bit range so you can spot values that would break such systems.

Seconds or milliseconds: which does my system use?

Most Unix tools, databases, and server languages (the date command, PostgreSQL, Python’s time.time(), PHP, Go’s Unix()) use seconds, which are 10 digits long today. JavaScript’s Date.now() and Java’s System.currentTimeMillis() use milliseconds, which are 13 digits. Mixing them up gives dates in 1970 or in the far future, which is why this tool shows the detected unit and lets you change it.

Why does a time not exist, or appear twice, in some time zones?

When clocks spring forward for daylight saving time, an hour of local time is skipped: in New York, 02:30 on 9 March 2025 never happened. When clocks fall back, an hour repeats, so 01:30 on 2 November 2025 happened twice. Instead of silently shifting the time, the converter explains the gap, or shows both moments for a repeated time.

Are leap seconds included?

No. Unix time assumes every day has exactly 86,400 seconds, so leap seconds are not counted, and a time such as 23:59:60 cannot be converted. This matches how operating systems and programming languages handle Unix time.

UUID Generator

Generate random v4 or time-ordered v7 UUIDs in bulk, and inspect any UUID for its version, variant, and timestamp.

Keyboard shortcuts

Show this list (outside text fields)
?
Close this list
Esc

This tool converts as you type, so there is no Run step.