1. All tools
  2. Timestamp converter

How do I convert a Unix timestamp to a date?

Paste a Unix timestamp and the page detects whether it is in seconds, milliseconds, microseconds or nanoseconds, then shows the date in UTC and in any time zone you choose, as ISO 8601, as an HTTP date and as “3 days ago”. It also works the other way: pick a date and time in a time zone, or paste an ISO date, to get the timestamp.

Runs entirely in your browser · nothing is sent · no account

  1. Paste a timestamp — the unit is detected for you.
  2. Pick the time zone you want to see.
  3. Or enter a date to get its timestamp.
Current Unix time (seconds)
–
Milliseconds
–

Timestamp → date

Date → timestamp

What this page can do

  • Seconds, milliseconds, microseconds and nanoseconds
  • Automatic unit detection from the number of digits
  • Results in UTC and in any IANA time zone
  • ISO 8601 with offset, HTTP date and relative time
  • Date and time in a chosen zone → timestamp
  • Live current Unix time with one-click copy

When to use this page

  • Reading a timestamp in a log file, database row or API response.
  • Finding the timestamp for a date to use in a query or a test.
  • Checking what time an event happened in another time zone.

When to use something else

  • You need to convert thousands of values — use a spreadsheet formula or a script.
  • You need leap-second-accurate astronomical time — Unix time ignores leap seconds.
  • You need dates in a non-Gregorian calendar.

How it compares with other options

Every language can do this — date -d @1764000000 in a shell, datetime.fromtimestamp in Python, new Date(ms) in JavaScript — and databases have their own functions. This page is the quick check without opening a terminal. Time-zone rules come from your browser’s built-in IANA database, so daylight-saving changes are applied correctly.

Where your data goes

Nowhere. Everything is computed by your own browser. Nothing you paste is sent to a server, logged or stored — close the tab and it is gone. You can check it yourself: open your browser’s network panel — the page still loads its own code and any ads, but no request carries what you typed.

Questions about this tool

What is a Unix timestamp?

It is the number of seconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is the same everywhere in the world at a given instant, which is why systems store time this way and convert to local time only for display.

How do I know if a timestamp is in seconds or milliseconds?

Count the digits. Present-day timestamps have 10 digits in seconds and 13 in milliseconds; 16 means microseconds and 19 nanoseconds. The page uses this rule automatically, and you can override it.

Why is my converted time off by some hours?

The timestamp itself has no time zone — the hours shift only when it is displayed. Check which zone you selected. If a value was produced from a local time and stored as if it were UTC, it will be off by that zone’s offset.

What happens in 2038?

Systems that store seconds in a signed 32-bit integer overflow on 19 January 2038 at 03:14:07 UTC. Modern systems use 64-bit values, which last for billions of years. This page handles dates far beyond 2038.

Other tools you may need