What a Unix timestamp is
A Unix timestamp is a single integer that counts the seconds elapsed since the Unix epoch, 1970-01-01T00:00:00 UTC. Systems such as operating systems, databases, log files, APIs and file formats store times this way because one integer is easy to compare, sort and transmit. The value has no time zone and no calendar attached, which also makes it unreadable by eye. This page turns the number into a UTC date and time in the form YYYY-MM-DDTHH:MM:SSZ. The default input of 0 returns 1970-01-01T00:00:00Z, the epoch itself, which makes a clear starting point for testing.
From timestamp to Gregorian date in 86,400-second days
The calculator treats each day as exactly 86,400 seconds, divides the timestamp into whole days and a remainder, and applies the Gregorian calendar to the day count from the epoch. The remainder gives the hours, minutes and seconds. This matches the POSIX definition of seconds since the Epoch, which ignores leap seconds. Negative values are allowed and count backward, so -1 returns 1969-12-31T23:59:59Z. The supported range is -62135596800 through 253402300799, which corresponds to 0001-01-01T00:00:00Z through 9999-12-31T23:59:59Z. The page returns the same seconds value together with the UTC text.
Reference values to remember
A few timestamps make useful checkpoints. 86400 is one day after the epoch, 1970-01-02T00:00:00Z. 1000000000, the "billennium", falls on 2001-09-09T01:46:40Z. 1700000000 is 2023-11-14T22:13:20Z, and 1704067200 is exactly 2024-01-01T00:00:00Z. The last one equals 19,723 days times 86,400 seconds. If a number you are examining does not land on a sensible date near one of these anchors, the input may be in the wrong unit. Comparing against a known pair like these is quicker than counting years by hand when you check logs from a system you do not recognize.
Seconds versus milliseconds
The most frequent mistake is mixing seconds with milliseconds. JavaScript's Date.now() and many web APIs return milliseconds, which makes the number thousand times larger, typically 13 digits for current dates instead of 10. This page accepts whole seconds only and does not take millisecond timestamps. If you enter 1700000000000, it is outside the supported range because it would mean a year far beyond 9999. Divide a millisecond value by 1,000 and drop the fractional part before entering it. Microsecond values at 16 digits and nanosecond values at 19 digits need an even larger divisor. Counting the digits is a reliable first check. Values from before September 2001 had nine digits, and values reach eleven digits only in the year 2286. A reading with 10 digits that starts with 17 is therefore a date between late 2023 and 2027, which narrows down an unknown log source quickly. Anything with 12 or more digits for a current date is in a smaller unit.
Dates before 1970 and the year 2038
Negative timestamps represent moments before the epoch. -86400 is 1969-12-31T00:00:00Z, and the lowest supported value, -62135596800, is the start of year 1. Because the page uses a wide integer range, it does not share the limit of older systems that store the timestamp in a signed 32-bit integer. That type overflows after 2147483647, which is 2038-01-19T03:14:07Z, and software that still uses it can fail or wrap to 1901. Entering 2147483647 here returns that date, and 2147483648 simply returns one second later. This behavior is often called the year 2038 problem. Systems that moved to 64-bit integers avoid it, and a 64-bit count of seconds lasts for roughly 292 billion years in either direction.
Reading the UTC result in local time
The output is UTC. To read it in a local time zone, apply the offset for that zone on that date. Tokyo is 9 hours ahead of UTC, so 2024-01-01T00:00:00Z is 09:00 on January 1 there, while New York in winter is 5 hours behind, which makes it 19:00 on December 31, 2023. Daylight saving changes the offset during the year in many places, so use the offset that was valid on the date in question, not the one today. Keep the timestamp and the UTC string together in your records so that readers in any time zone can interpret the same instant.
Where timestamps appear in practice
Server logs, JSON Web Tokens, file systems, cron jobs, database exports and chat or email metadata often carry Unix times. In a token, fields such as exp and iat hold seconds, so converting them tells you whether a credential has expired. In a log, converting the first and last entries gives the span of an incident. When two systems disagree about when something happened, converting both numbers to UTC removes the time zone as a variable and leaves any true difference in the clocks visible. The result of this page is the same one a command-line date tool would show for the same integer. Spreadsheets add another wrinkle, because their serial dates count days from 1899 or 1900, not from 1970. Convert a Unix value to days by dividing by 86,400 before comparing it with a spreadsheet date, and remember that the two scales differ by a fixed offset.
Checking a timestamp by hand
You can verify a conversion without a tool by working in days. Divide the timestamp by 86,400. The whole part is the number of days since 1970-01-01, and the remainder is seconds into that day. For 1704067200, the quotient is exactly 19,723 with no remainder, so the time is midnight. The 54 years from 1970 to 2024 contain 13 leap days, in 1972 through 2020, so 54 × 365 + 13 = 19,723 days. Divide the remainder by 3,600 for the hour. A remainder of 45,000 seconds would be 12 hours and 30 minutes. This arithmetic is how libraries compute dates internally, and doing it once makes the output of the page easier to trust.
Leap seconds and the limits of the model
UTC has inserted 27 leap seconds since 1972, but Unix time does not count them. Around a leap second, the timestamp repeats or is smeared, depending on the system. The page follows the plain model of 86,400 seconds per day, so it matches the common behavior of operating systems, but it is not an atomic-time converter. Fractional seconds, millisecond input, time zone names and non-Gregorian calendars are outside its scope. For dates, it always uses the proleptic Gregorian calendar, so very old years are shown on the same rule as modern ones.