Unix Timestamp

The current timestamp updating live, plus a two-way converter: from a timestamp to a human-readable date and from a date to a timestamp, in seconds and milliseconds.

Current timestamp (live)

โ€ฆSeconds
โ€ฆMilliseconds

Timestamp to date

Date to timestamp

๐Ÿ”’ Everything happens in your browser: no data is sent anywhere.

What is a Unix timestamp?

The Unix timestamp (also called "epoch time") is the number of seconds elapsed since midnight UTC on January 1, 1970. It's the standard way databases, APIs and logs record moments in time: a single integer with no time-zone or date-format ambiguity. That's why you'll run into it in server logs, in JWT tokens (the iat and exp claims), in JSON API responses and in cookie expiration values.

Seconds or milliseconds? How to tell them apart

Unix and most server-side languages count in seconds (10 digits for present-day dates), while JavaScript's Date.now() and many modern APIs count in milliseconds (13 digits). This converter tells them apart automatically by digit count, so a timestamp pasted from your logs never lands in the year 56,000. Keep in mind that the readable date shown uses your device's time zone, while the UTC value is listed separately.