What is a Unix timestamp?
A count of the seconds since 00:00:00 UTC on 1 January 1970. 1700000000 is 14 November 2023 at 22:13:20 UTC.
Paste a Unix timestamp in seconds or milliseconds to read its date in UTC and your time zone, or pick a date to get its epoch time.
Made for log files, API responses and database columns: paste the number as it is and read when it happened, in UTC and on your own clock.
Every conversion is worked out in this tab from your browser's own time zone rules, with no sign-up and nothing sent to a server.
Paste the number, read the date it stands for, or go the other way from a date.
Put the epoch timestamp in the box. Ten digits are read as seconds and thirteen as milliseconds, as in 1700000000.
The date shows in UTC, in your time zone and as ISO 8601: 1700000000 is Tuesday, 14 November 2023, 22:13:20 UTC.
Open the Date tab, pick a date, a time and a time zone, then copy the epoch time in seconds or milliseconds.
Unix time counts the seconds since midnight UTC on 1 January 1970, a moment called the Unix epoch. One number names one instant everywhere on Earth, which is why servers, databases and APIs store time this way. It is also called epoch time or POSIX time.
The count rises by one every second: 86,400 a day, about 31.6 million a year. The epoch itself is 0, one billion seconds passed on 9 September 2001 at 01:46:40 UTC, and 1700000000 fell on 14 November 2023. Dates before 1970 are negative, so −1 is 23:59:59 on 31 December 1969.
A timestamp says nothing about where it was made. Converting it means adding the seconds to the epoch and then reading the result on a clock, which is the step that needs a time zone. The number itself is the same in Tokyo and New York.
Not every system counts in seconds. JavaScript's Date.now() and Java give epoch time in milliseconds, so the same moment is 1000 times larger: 1700000000000 instead of 1700000000. Python's time.time() gives seconds with a decimal part; Go and some databases count microseconds or nanoseconds.
The length of the number tells you which unit you have. A timestamp for any date from 2001 to 2286 has 10 digits in seconds, 13 in milliseconds, 16 in microseconds and 19 in nanoseconds. The converter reads the unit from the digits and names it, and the Unit setting overrides it.
Reading the wrong unit gives dates that are plainly off. Milliseconds read as seconds land tens of thousands of years ahead, and seconds read as milliseconds land in January 1970. If a converted date looks absurd, check the unit first.
A Unix timestamp is always counted from UTC, so it has no time zone of its own. The UTC timestamp for a moment is the only timestamp for it: 1700000000 is 22:13:20 UTC, 17:13:20 in New York and 03:43:20 the next morning in Mumbai, all at once.
Time zones matter when you go from a date to a timestamp. 9:00 on 1 March in London and 9:00 on 1 March in Los Angeles are eight hours apart, so they give timestamps 28,800 apart. Pick the zone the date was written in, or the answer will be off by its offset.
Daylight saving makes some local times odd. When clocks spring forward, a time such as 2:30 never happens; when they fall back, an hour happens twice. The converter says when either applies and which instant it used, following your browser's time zone rules.
Older software stores Unix time in a signed 32-bit integer, which holds numbers up to 2,147,483,647. That many seconds after the epoch is 03:14:07 UTC on Tuesday 19 January 2038. One second later the count overflows and wraps to −2,147,483,648, which reads as 20:45:52 on 13 December 1901.
This is the 2038 bug, also called Y2038. Modern systems use 64-bit time, which lasts for billions of years, but 32-bit values still live in embedded devices, old file formats and database columns. Put 2147483647 in the converter to see the last moment they can hold.
An unsigned 32-bit count goes further, to 4,294,967,295, which is 06:28:15 UTC on 7 February 2106, but it cannot hold dates before 1970. Testing software with dates past 2038 is the simple way to find code that still counts in 32 bits.
The current Unix timestamp ticks live in seconds and milliseconds, with a Copy button for each.
Seconds, milliseconds, microseconds and nanoseconds are all read exactly, down to the last digit.
Search a city or zone such as EST or PST to see the date there, with daylight saving worked out.
Get the <t:1700000000:R> code for a date in all seven Discord styles, each with how it will look.
Every date comes as ISO 8601, RFC 3339 and RFC 2822 text, and ISO dates pasted in are read back.
Paste a column of timestamps or dates, one per line, and copy the results for Excel or as a CSV.
Every timestamp is converted by code running in this tab, so nothing you paste leaves your device.
Timestamps are worked out on this device with its own clock and zone rules. Nothing is sent online.
Only the time zone and the 12 or 24-hour clock you pick are kept here. Pasted lists are never saved.
No account and no limit: convert one timestamp from a log or ten thousand from an export, free.
A count of the seconds since 00:00:00 UTC on 1 January 1970. 1700000000 is 14 November 2023 at 22:13:20 UTC.
Unix was written around 1970, and its makers picked a round date close by. Starting near the present kept the numbers small.
86,400: 24 hours of 60 minutes of 60 seconds. Unix time adds exactly that much for every day, so midnight UTC divides by 86,400.
31,536,000 in a year of 365 days and 31,622,400 in a leap year. An average year of 365.2425 days is 31,556,952 seconds.
No. Every Unix day is 86,400 seconds, so the 27 leap seconds added since 1972 are not counted and a leap second repeats a number.
A Unix timestamp in milliseconds. Divide it by 1,000 for seconds: 1700000000000 ms is 1700000000 s, 14 November 2023.
Date.now() gives milliseconds since the epoch. For seconds, use Math.floor(Date.now() / 1000), which matches this page's clock.
Use =A1/86400+DATE(1970,1,1) and format the cell as a date. For milliseconds divide by 86400000. The result is in UTC.
Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.