Toolyard

Unix Timestamp Converter

Timestamp to date

Date to timestamp

How to convert a Unix timestamp

  1. Paste a timestamp to see it as a date in UTC and in your time zone. Seconds and milliseconds are detected automatically.
  2. To go the other way, pick a date and time and choose whether it is in your time zone or UTC.
  3. Copy any value with its Copy button.

Frequently asked questions

What is a Unix timestamp?

The number of seconds since 1 January 1970, 00:00:00 UTC. It is the same everywhere in the world at a given moment.

Seconds or milliseconds?

Unix tools and most APIs use seconds (10 digits today). JavaScript and Java use milliseconds (13 digits). Numbers with 12 or more digits are read as milliseconds.

What is the year 2038 problem?

Systems that store the timestamp as a signed 32-bit number overflow on 19 January 2038. Modern systems use 64 bits.

More developer tools

Guides