Unix Timestamp Converter

Convert a Unix timestamp into a readable date, or a date into a timestamp, in either direction. The tool works out for itself whether a number is in seconds or milliseconds, which removes the most common source of confusion when reading times out of logs and databases.

Pick a date and time above.

How to convert a Unix timestamp

  1. Paste a timestamp to see its date — or tap "Now" for the current one.
  2. Or pick a date and time to get its timestamp.
  3. Both UTC and your local time are shown.

When you'd use this

Good to know

Frequently asked questions

What is a Unix timestamp?

The number of seconds that have passed since 1 January 1970, 00:00:00 UTC (the "Unix epoch"). It's a compact, timezone-free way computers store a point in time.

How does this tell seconds and milliseconds apart?

By length: a timestamp in seconds is 10 digits until the year 2286, while milliseconds is 13 digits today. This tool treats anything with 12 or more digits as milliseconds and anything shorter as seconds.

Does the converted date account for my timezone?

Both are shown: the UTC time (timezone-independent, what's actually stored) and your browser's local time, calculated from your device's own timezone setting.

Is my timestamp in seconds or milliseconds?

Ten digits is seconds, thirteen is milliseconds. The tool detects this automatically, and the giveaway is the answer — a date in 1970 means milliseconds were fed to something expecting seconds.

What time zone are the results in?

Your device's local zone. A timestamp itself carries no time zone — it is an absolute instant — so the same number displays differently for people in different places.

What is the Unix epoch?

Midnight on 1 January 1970 UTC, the zero point that Unix timestamps count from. It was simply a convenient recent date when the convention was established.