Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates, in both directions.

Making sense of a raw timestamp

A Unix timestamp is just a number — the seconds since the start of 1970 — which is efficient for computers and meaningless to a human staring at a log or a database field. This converts a timestamp into a readable date and time, and a date back into a timestamp, so you can tell at a glance when something actually happened.

Paste a timestamp to get the date, or pick a date to get the timestamp.

Seconds, milliseconds and time zones

Two things catch people out. First, timestamps come in seconds or milliseconds — JavaScript uses milliseconds, many systems use seconds — and mixing them up throws the date off by a factor of a thousand, landing you in 1970 or the far future. Second, a timestamp is an absolute moment, but its readable form depends on the time zone, so the same number shows as different local times around the world. Being clear about which unit and which zone you are working in avoids most timestamp confusion.

Unix Timestamp Converter FAQ

Why is my converted date wildly wrong?

You have probably mixed up seconds and milliseconds — they differ by a factor of a thousand. Check which unit your timestamp uses.

Does a timestamp include a time zone?

No — it is an absolute moment. Its readable date depends on the time zone you display it in.

Is anything uploaded?

No. The conversion happens in your browser.

More Developer tools