Unix timestamp converter
Convert Unix timestamps to dates and back.
Current time
- Unix (seconds)
- 1795314623
- Unix (milliseconds)
- 1795314623687
- ISO 8601
- 2026-11-22T02:30:23.687Z
- Local time
- 11/22/2026, 2:30:23 AM
Unit
About the Unix timestamp converter
Convert a Unix timestamp to a readable date, or a date back to a Unix timestamp, in seconds or milliseconds. Reach for it when you find epoch values in logs, API responses or database rows and need to know what moment they mean, or when you need a timestamp for a test.
How to use it
- Under Unit, choose Seconds or Milliseconds to match your value.
- Paste a value into Unix timestamp and select Convert to date. The Converted panel shows ISO 8601, UTC, local and relative time.
- To go the other way, enter a date in Date (ISO 8601) and select Convert to timestamp.
- Select Use current to fill both fields with the current time, and Copy to copy either field.
Input formats
The Current time panel updates every second. Dates are parsed by your browser, so ISO 8601 such as 2024-01-01T00:00:00.000Z is the most reliable input.
Time zone gotcha
A date-only string like 2024-01-01 is read as midnight UTC, but a date and time without Z or an offset, like 2024-01-01T09:00, is read as your local time.
Runs in your browser
Conversions use your browser's date functions; nothing you enter is sent to a server.
Questions
- What is a Unix timestamp?
- It is the number of seconds since 00:00:00 UTC on January 1, 1970, known as the Unix epoch, not counting leap seconds. For example, 1704067200 is 2024-01-01T00:00:00Z.
- How can I tell if a timestamp is in seconds or milliseconds?
- Count the digits: current timestamps have 10 digits in seconds and 13 in milliseconds, and JavaScript's Date.now() returns milliseconds. If the result lands in 1970 or far in the future, switch the unit.
- What is the year 2038 problem?
- Systems that store Unix time as a signed 32-bit integer run out at 2147483647, which is 03:14:07 UTC on January 19, 2038. 64-bit systems and JavaScript dates are not affected.