Timestamp Converter

Convert Unix timestamps to human-readable dates and back, both directions stay in sync as you edit either one.

Unix timestamp

Date & time

What's a Unix timestamp?

Seconds (or ms) since Jan 1, 1970 UTC.

The Unix epoch is midnight UTC on January 1, 1970. A timestamp is just the number of seconds (or milliseconds) since then, which is why it sorts and compares as a plain number, unlike a formatted date string.

Seconds vs. milliseconds

Unix, Linux, and most backend APIs use seconds. JavaScript's own Date.now() and most frontend code use milliseconds. Mixing the two up is one of the most common timestamp bugs, a "seconds" value pasted into a "milliseconds" field lands somewhere in 1970.