
How to use
- The current Unix time is shown at the top and updates every second. Tap Copy epoch to copy it.
- To read a timestamp, paste it into Epoch → Datetime. You get the date and time in UTC, in the time zone you pick, and in ISO 8601, plus how long ago (or how far ahead) it is.
- To get a timestamp for a date, pick the date and time in Datetime → Epoch. It is read as your device's local time and converted to epoch seconds and milliseconds.
- Change the time zone at any time; your choice is remembered on this device.
What is a Unix timestamp?
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have passed since 00:00:00 UTC on January 1, 1970, the "Unix epoch". For example, 1700000000 is 22:13:20 UTC on November 14, 2023.
Because it is a single number with no time zone, it is the same everywhere in the world at the same moment. That is why databases, log files, APIs and spreadsheets exported from apps store dates this way. The number only becomes a local date and time when you convert it for a particular time zone.
| Unix timestamp | Date and time (UTC) |
|---|---|
| 0 | January 1, 1970, 00:00:00 |
| 1000000000 | September 9, 2001, 01:46:40 |
| 1700000000 | November 14, 2023, 22:13:20 |
| 2000000000 | May 18, 2033, 03:33:20 |
| 2147483647 | January 19, 2038, 03:14:07 |
Seconds or milliseconds?
A timestamp in seconds has 10 digits today (for example 1761091200). Many systems, including JavaScript and Java, count milliseconds instead, which gives 13 digits (1761091200000). If a date comes out tens of thousands of years in the future, the value is in milliseconds: remove the last three digits, or divide by 1000, before converting it here.
Datetime → Epoch gives you both values, so you can copy whichever your system expects.
Convert a Unix timestamp in Excel or Google Sheets
Spreadsheets count days, not seconds, starting from their own date. To turn a timestamp in cell A1 into a date, use =A1/86400+DATE(1970,1,1) and format the cell as Date time. To go the other way, use =(A1-DATE(1970,1,1))*86400.
Both formulas work in UTC. To show the result in a US time zone, subtract the hours behind UTC, for example =A1/86400+DATE(1970,1,1)-5/24 for Eastern Standard Time (use 4/24 during daylight saving time).
The year 2038 problem
Older software stores Unix time as a signed 32-bit number, whose largest value is 2,147,483,647. That moment is 03:14:07 UTC on January 19, 2038. One second later, such a counter overflows and can jump back to December 1901.
Modern operating systems and languages use 64-bit time, which will not run out for billions of years, but old devices, file formats and embedded systems may still be affected.
Frequently asked questions
Does Unix time include time zones or daylight saving time?
No. A Unix timestamp is always counted in UTC. Time zones and daylight saving time only matter when you display it, which is why this converter shows UTC and the time zone you choose side by side.
Does Unix time count leap seconds?
No. Every day is treated as exactly 86,400 seconds, so a Unix timestamp can be converted to a date with simple arithmetic.
Can a Unix timestamp be negative?
Yes. Negative values are dates before 1970; for example, -86400 is December 31, 1969, 00:00:00 UTC.
Is my data sent anywhere?
No. All conversions happen in your browser, and nothing you type is sent to a server.