Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back.
Current Unix timestamp
1773162001
Timestamp to Date
Date to Timestamp
Examples
| Input | Result |
|---|---|
| 1700000000 | November 14, 2023 10:13:20 PM UTC |
| 0 | January 1, 1970 12:00:00 AM UTC |
| 2024-07-04 12:00:00 | 1720094400 (seconds) |
| 1720094400000 | July 4, 2024 12:00:00 PM (detected as milliseconds) |
About this tool
Unix timestamps (also called epoch time or POSIX time) represent a point in time as the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC. This format is widely used in databases, APIs, log files, and programming languages because it is timezone-neutral and easy to do math with. Comparing two timestamps is just subtraction, and adding a duration is just addition.
This converter handles both seconds and milliseconds. Paste in a timestamp to see the corresponding human-readable date in your local timezone, UTC, and ISO 8601 format. You can also pick a date and time to get the corresponding epoch value. The current Unix timestamp is displayed live at the top of the page so you can grab it quickly when you need it for testing or debugging.
Frequently asked questions
What is the difference between Unix timestamps in seconds and milliseconds?
A Unix timestamp in seconds counts the number of seconds since January 1, 1970 UTC. The millisecond version is the same value multiplied by 1000. JavaScript's Date.now() returns milliseconds, while most server-side languages default to seconds. This tool auto-detects which format you enter based on the number of digits.
Why does my Unix timestamp show a different time than expected?
Unix timestamps are always relative to UTC. When you convert one, the displayed local time depends on your browser's timezone setting. If you see an offset, check whether you're comparing UTC output to a local time value.
What happens with Unix timestamps before 1970?
Dates before January 1, 1970 are represented as negative Unix timestamps. For example, December 31, 1969 at midnight UTC is -86400. Most systems handle negative timestamps correctly, though some older implementations may not.
