What is a Unix timestamp
The Unix timestamp (or "Unix time") is the number of seconds elapsed since January 1st, 1970, 00:00:00 UTC (the "Unix epoch"). It's widely used in databases, APIs and logs since it's a simple numeric format with no timezone ambiguity.
Seconds or milliseconds?
Some systems (like JavaScript) use milliseconds instead of seconds. This tool auto-detects: values with more than 11 digits are treated as milliseconds.
Worked values and timezone traps
The value 1700000000 is November 14, 2023, 22:13:20 UTC; in New York (UTC-5) it reads 17:13:20. 0 is the epoch itself, January 1, 1970.
Common mistakes: pasting a millisecond value and wondering why the date lands thousands of years away, or typing a date without remembering the field uses your browser's timezone, which shifts the result by hours. When matching a server log, always compare against the UTC column.
Practical limits
Signed 32-bit systems can only hold seconds up to January 19, 2038 (2147483647); current languages and databases use 64 bits and are not affected. Negative values stand for dates before 1970.
Frequently asked questions
Why use a timestamp instead of a regular date?
Because it's a simple number, easy to store, compare and sort, without depending on timezone or date format.
Is the shown time UTC or my local time?
The "to date" conversion shows both your browser's local time and the UTC time (ISO 8601), to avoid confusion.
Why does my timestamp convert to a date in 1970?
That usually means a value in milliseconds was treated as seconds or the other way around, or the number is tiny because it came from a counter rather than a real time. A 10-digit number is seconds, a 13-digit one is milliseconds. Dates in early 1970 point to values near zero, such as an empty field saved as 0.
Do leap seconds count in Unix time?
No. Unix time pretends every day has exactly 86400 seconds, so leap seconds are folded into the clock rather than counted. For everyday conversions this is irrelevant, but it means the difference between two timestamps is not always the exact number of physical seconds elapsed.