Unix Timestamp Converter
Turn a Unix timestamp into a date in UTC and your local time zone, or convert a date and time into a timestamp. Seconds and milliseconds are detected automatically.
- Current Unix time (seconds)
- –
| Seconds | |
|---|---|
| Milliseconds | |
| UTC | |
| Your local time | |
| ISO 8601 | |
| Relative |
Runs in your browser. What you enter here is not sent to our server.
What is Unix time?
Unix time counts the seconds since midnight UTC on 1 January 1970, known as the epoch. Because it is a single number with no time zone, it is a convenient way for computers to store and compare moments in time.
Seconds or milliseconds?
Many systems, including most databases and Unix tools, use seconds (currently a 10-digit number). JavaScript and Java commonly use milliseconds (13 digits). This converter treats values with 12 or more digits as milliseconds.
Systems that store Unix time as a signed 32-bit number cannot count past 19 January 2038, a limit known as the year 2038 problem. Modern 64-bit systems are not affected.
Questions about the Unix Timestamp Converter
Which time zone is a Unix timestamp in?
None. It marks a single instant worldwide. Time zones only matter when the timestamp is displayed as a date, which is why the result shows both UTC and your local time.
Do negative timestamps work?
Yes. Negative values are dates before 1970.