Unix Timestamp Converter

Convert Unix epoch time to a readable date and back, in seconds or milliseconds.

Current Unix time

Timestamp → date

Date → timestamp

How to use the Unix Timestamp Converter

Unix time counts seconds since 1 January 1970 00:00:00 UTC. Paste a 10-digit (seconds) or 13-digit (milliseconds) value and the unit is detected automatically.

Snippets: JavaScript Math.floor(Date.now()/1000) · Python int(time.time()) · SQL (MySQL) UNIX_TIMESTAMP().

Frequently asked questions

What is the year 2038 problem?

Systems storing Unix time as a signed 32-bit integer overflow on 19 January 2038. 64-bit timestamps avoid it.

Does Unix time include leap seconds?

No. Every Unix day is exactly 86,400 seconds.

Related tools