Unix Timestamp Converter
Convert epoch time to dates and back. Seconds and milliseconds are detected automatically.
Current Unix time
Timestamp → Date
Date → Timestamp
What is a Unix timestamp?
The number of seconds since 00:00:00 UTC on 1 January 1970, known as the Unix epoch. It's the same everywhere in the world, which makes it ideal for storing and comparing times. Convert to a local time zone only when showing it to a person.
Seconds or milliseconds?
Unix tools, Python's time.time() and most databases use seconds (10 digits today). JavaScript's Date.now() and Java's System.currentTimeMillis() use milliseconds (13 digits). This converter detects which one you entered from its length.
The year 2038 problem
Systems that store time as a signed 32-bit integer overflow at 2147483647, which is 03:14:07 UTC on 19 January 2038. Use 64-bit integers for timestamps.