DevToolCase
Sign in Sign in

Convert Unix timestamps and dates

Turn a Unix timestamp (seconds, milliseconds…) into a readable date, or a date into a timestamp, in UTC and in your time zone.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

Current Unix time

…

Runs entirely in your browser: nothing you type is sent or stored.

What is a Unix timestamp?

A Unix timestamp counts the seconds since 1 January 1970 at midnight UTC. Databases, logs, APIs and JSON Web Tokens store dates this way: a single number, the same all over the world, with no time zone.

Seconds, milliseconds or less?

Digits todayUnitFound in
10secondsUnix, PHP, Python, JWT
13millisecondsJavaScript Date.now(), Java
16microsecondsPostgreSQL, Python time.time_ns() // 1000
19nanosecondsGo, InfluxDB

The unit is found from the number of digits; choose it yourself when in doubt.

Negative timestamps and the year 2038

A negative timestamp is a date before 1970: -86400 is 31 December 1969. Systems that store seconds in a signed 32-bit integer stop at 2147483647, on 19 January 2038 at 03:14:07 UTC: the “year 2038 problem”.

Time zones and ISO 8601

A timestamp has no time zone, so it is shown both in UTC and in yours. An ISO 8601 date such as 2026-11-24T12:00:00Z ends with Z for UTC, or with an offset such as +01:00.

Scheduling a job at a given time? Explain a cron expression shows its next runs.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.