Convert any Unix timestamp to a human-readable date, or turn a date into a Unix timestamp. Supports seconds and milliseconds with timezone-aware output. Paste a timestamp above to get started.
A Unix timestamp counts the number of seconds since January 1, 1970, 00:00:00 UTC — a moment known as the Unix epoch. Every major programming language, database, and operating system uses this format internally. When you see a number like 1712534400, that represents a specific moment in time: April 8, 2024 at midnight UTC.
Quick reference for common languages:
Standard Unix timestamps are in seconds (10 digits as of 2001). Many APIs and JavaScript's Date.now() return milliseconds (13 digits). This converter auto-detects the format. If your timestamp has 13 digits, it's likely in milliseconds.
Convert between Unix timestamps and human-readable dates
Enter a Unix timestamp (seconds or milliseconds)
Select a date and time to convert
A Unix timestamp (also known as Epoch time, POSIX time, or Unix Epoch) is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC. This date is known as the "Unix Epoch."
Standard Unix timestamps are in seconds. However, many programming languages (like JavaScript) use milliseconds. This tool auto-detects: if your timestamp has more than 10 digits, it's treated as milliseconds.
The Unix Epoch is January 1, 1970, 00:00:00 UTC. All Unix timestamps are counted from this date. It was chosen as a convenient reference point when Unix was developed.
32-bit systems store Unix timestamps as a signed 32-bit integer, which will overflow on January 19, 2038. Most modern systems now use 64-bit timestamps to avoid this issue.
Negative timestamps represent dates before January 1, 1970. For example, -86400 represents December 31, 1969. Our converter supports negative timestamps.