Unix Timestamp Converter

See the current Unix time, convert a timestamp to a date, or turn a date into a timestamp.

Your text and files never leave your browser — nothing is sent to a server.

Current Unix time
Seconds
-
Milliseconds
-
Timestamp → date
  • Local time -
  • UTC-
  • ISO 8601 (UTC)-
  • ISO 8601 (local offset)-
  • Relative-
  • Detected unit-

Date → timestamp
  • Seconds-
  • Milliseconds-
  • ISO 8601 (UTC)-
  • UTC offset-

How to use

  1. The top panel shows the current Unix time in seconds and milliseconds. Use “Copy” to grab either value.
  2. Paste a timestamp into “Timestamp → date”. With “Auto-detect”, up to 11 digits are read as seconds, up to 14 as milliseconds, up to 17 as microseconds and longer values as nanoseconds.
  3. You get the date in your local time and UTC, in ISO 8601 form, and how long ago or how far ahead it is.
  4. In “Date → timestamp”, pick a date, time and time zone to get the matching timestamp in seconds and milliseconds.

FAQ

What is a Unix timestamp?

It is the number of seconds since 1 January 1970 00:00:00 UTC (the Unix epoch), not counting leap seconds. It is the same everywhere in the world, which makes it handy for storing and comparing times.

Seconds or milliseconds — how do I tell?

A current timestamp in seconds has 10 digits; in milliseconds it has 13. Unix tools and most databases use seconds, while JavaScript (Date.now) and Java use milliseconds.

What is the year 2038 problem?

Systems that store Unix time as a signed 32-bit integer overflow at 2147483647, which is 19 January 2038 03:14:07 UTC. Modern systems use 64-bit values, which do not run out for billions of years.

Related tools

All tools