Unix Timestamp Converter
Convert Unix/epoch timestamps to human-readable dates or convert dates back to Unix timestamps. Live current timestamp updates every second.
Current Unix Timestamp
seconds since January 1, 1970 (UTC)
Milliseconds: —
Timestamp → Human Date
Date → Timestamp
About This Tool
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 at 00:00:00 UTC — also known as the Unix epoch. It is a simple, unambiguous way to represent a specific point in time regardless of time zones or locale. Unix timestamps are used universally in databases, APIs, log files, file systems, and programming languages.
This tool provides three functions: a live clock showing the current Unix timestamp in seconds and milliseconds (updates every second), a converter from Unix timestamp to UTC and local human-readable date, and a converter from a selected date and time back to a Unix timestamp. Both seconds and milliseconds are supported.
The live timestamp is useful for quickly grabbing the current epoch time — for example to use as a value in a database query, debug a time-based issue, or check how far in the past a logged timestamp is.
How to Use
- The Current Unix Timestamp section shows the live epoch time, updating every second.
- To convert a timestamp to a date: choose the unit (seconds or milliseconds), enter the timestamp, and click Convert. Both UTC and local timezone results are shown.
- To convert a date to a timestamp: use the date/time picker to select a date and time, then click Convert. The result is in the unit selected above.
- Use the Copy buttons to copy any result to your clipboard.
Unix Timestamp Facts
- Unix epoch: January 1, 1970 00:00:00 UTC = timestamp 0
- Timestamps in seconds are 10 digits; milliseconds are 13 digits
- The 32-bit Unix timestamp will overflow on January 19, 2038 (the "Year 2038 problem")
- 64-bit timestamps won't overflow for billions of years
- JavaScript's
Date.now()returns milliseconds; divide by 1000 for seconds