Convert
The date and time are in

Result

Enter a timestamp or a date.

How to use this tool

  • Timestamp → date: paste a timestamp. Seconds, milliseconds, microseconds and nanoseconds are detected from the number of digits, or you can choose the unit.
  • Date → timestamp: enter a date and time and say whether it is UTC or your local time.
  • Use the current time fills in now.

How it works

A Unix timestamp counts seconds since 00:00:00 UTC on 1 January 1970, ignoring leap seconds. Values below 10¹¹ are treated as seconds, below 10¹⁴ as milliseconds, below 10¹⁷ as microseconds, and larger values as nanoseconds. Local times use your browser’s time-zone settings.

Example

A round number

1700000000 seconds is 2023-11-14 22:13:20 UTC.

The epoch

Timestamp 0 is 1970-01-01 00:00:00 UTC; negative timestamps are dates before 1970.

Privacy and limitations

  • Conversions happen in your browser.
  • JavaScript dates support about ±273,000 years from 1970; timestamps outside that range are rejected.
  • Leap seconds are not counted, matching Unix time.

Frequently asked questions

Is my timestamp in seconds or milliseconds?

Current timestamps have 10 digits in seconds (e.g. 1700000000) and 13 digits in milliseconds (1700000000000). JavaScript and Java usually use milliseconds; Unix tools and PHP use seconds.

What is the year 2038 problem?

Systems that store seconds in a signed 32-bit integer overflow on 19 January 2038. Modern systems use 64-bit values.