How to convert a Unix timestamp to a date
Convert epoch seconds (or milliseconds) to a readable UTC or local date. Step-by-step, plus a free two-way timestamp converter.
A Unix timestamp is just a number of seconds since 1970. Converting it to a human date is a matter of applying that offset and choosing a timezone — here is how, including the common seconds-vs-milliseconds gotcha.
Seconds or milliseconds?
A 10-digit timestamp is seconds; a 13-digit one is milliseconds (used by JavaScript and many APIs). If your converted date lands in 1970, you passed milliseconds as seconds — or vice versa. Divide or multiply by 1000 to fix it.
UTC vs local
The timestamp itself is always UTC. Displaying it in a local timezone just shifts the presentation. When comparing timestamps across systems, keep them in UTC and only localize at the very end for humans.
Step by step
Copy the timestamp (10 digits = seconds, 13 = milliseconds).
Paste it into the timestamp converter.
Read both the UTC and your local date/time.
To go the other way, enter a date and get its Unix timestamp back.
Try it now — free, no signup
Use the timestamp converter in your browser. Then, when you need it at scale with an API key and higher limits, grab the full Eveses API.