All representations of this instant
Unit conversions use exact integer arithmetic, so large nanosecond values never lose digits to floating point rounding.
| Field | Value |
|---|
| Field | Value |
|---|
Batch converter
Paste one whole number per line. Blank lines are skipped, and results are shown as CSV that you can copy into a spreadsheet.
Epoch reference table
Landmark timestamps computed live with the same engine as the converter above.
| Epoch value | Unit | UTC date and time |
|---|
What Is a Unix Timestamp?
Unix time, also called POSIX time or epoch time, measures an instant as a single number: the count of seconds elapsed since the epoch, 1970-01-01 00:00:00 UTC. It is a continuous count of uniform seconds. Leap seconds are not inserted into the count, so Unix time is not exactly the same as UTC as broadcast by atomic clocks, even though the two agree on ordinary dates.
Because the number describes an absolute instant rather than a wall clock reading, a timestamp has no time zone. The timestamp 1700000000 means the same moment everywhere on Earth. Only the human readable label changes: it is 2023-11-14 22:13:20 in UTC, 2023-11-15 06:13:20 at UTC+08:00, and 2023-11-14 17:13:20 at UTC-05:00.
Formulas and Unit Conversions
Let N be a whole number in a chosen unit. The exact relationships are:
- nanoseconds = seconds × 1,000,000,000 = milliseconds × 1,000,000 = microseconds × 1,000
- seconds = floor(nanoseconds / 1,000,000,000), using floor division so negative timestamps stay consistent
- wall time in a zone offset of Z minutes east of UTC = UTC time + Z minutes
- epoch from a local wall time = epoch of that wall time read as UTC − Z × 60,000 milliseconds
JavaScript Date objects store milliseconds since the epoch, and the ISO 8601 rendering is produced by toISOString(). This tool does all unit scaling with arbitrary precision integers before handing milliseconds to the date engine, so a 19 digit nanosecond value keeps every digit.
- Read the input as an exact integer and multiply it by the unit factor to obtain nanoseconds since the epoch.
- Divide by one million with floor division to obtain the millisecond time value used by the date engine.
- Render the UTC calendar fields, then shift by the chosen offset in minutes to render the local wall time.
- Report the value in all four units, plus calendar details, relative time and the 32 bit boundary status.
Automatic Unit Detection
When the unit selector is on Auto, the absolute value of the input selects a unit. These boundaries are deliberately far outside the range of present day timestamps, so ordinary values are unambiguous.
| Absolute input value | Detected unit | Typical digit count today |
|---|---|---|
| below 100,000,000,000 (1e11) | seconds | 10 digits |
| 1e11 to below 1e14 | milliseconds | 13 digits |
| 1e14 to below 1e17 | microseconds | 16 digits |
| 1e17 or greater | nanoseconds | 19 digits |
Auto detection is a convenience, not a guarantee. A very large seconds value or a small milliseconds value can be misread, so choose the unit explicitly whenever the magnitude sits near a boundary.
Dates Before 1970 and the 2038 Boundary
The epoch is a zero point on a number line, not a lower limit. Negative values represent earlier instants: −1 is 1969-12-31 23:59:59 UTC. On the other side, a signed 32 bit integer tops out at 2,147,483,647, which is 2038-01-19 03:14:07 UTC. Systems that store time in such an integer cannot represent 2038-01-19 03:14:08 UTC without switching to a 64 bit type. The detail table flags whether a value fits in that range.
The browser date engine supports roughly plus or minus 8.64 × 1015 milliseconds, which spans hundreds of thousands of years. Values outside that window are rejected with a clear message instead of returning a nonsense date.
Worked Examples
| Question | Input | Calculation | Answer |
|---|---|---|---|
| What date is epoch 0? | 0 s | Zero seconds after the epoch | 1970-01-01 00:00:00 UTC |
| What date is 1700000000? | 1700000000 s | 1,700,000,000 s after the epoch | 2023-11-14 22:13:20 UTC |
| Convert milliseconds to a date | 1700000000000 ms | Divide by 1,000 to get 1700000000 s | 2023-11-14 22:13:20 UTC |
| Convert nanoseconds to seconds | 1700000000000000000 ns | Divide by 1e9 | 1700000000 s |
| What is one second before the epoch? | −1 s | Subtract one second from the epoch | 1969-12-31 23:59:59 UTC |
| When does 32 bit time overflow? | 2147483647 s | Maximum signed 32 bit integer | 2038-01-19 03:14:07 UTC |
| Local time to epoch at UTC+08:00 | 2023-11-15 06:13:20 | Subtract 8 hours from the wall time read as UTC | 1700000000 s |
| Local time to epoch at UTC−05:00 | 2023-11-14 17:13:20 | Add 5 hours to the wall time read as UTC | 1700000000 s |
The last two rows are worth checking twice: the same local clock reading converts to different timestamps depending on the offset, and the same timestamp produces different local readings. When you need to compute a span between two dates rather than a single instant, the Date Calculator is the better tool.
Epoch Reference Table
| Epoch seconds | UTC date and time | Why it matters |
|---|---|---|
| 0 | 1970-01-01 00:00:00 | The Unix epoch, the zero point of the scale. |
| 1 | 1970-01-01 00:00:01 | One second after the epoch. |
| 1000000000 | 2001-09-09 01:46:40 | The first billion second milestone. |
| 1234567890 | 2009-02-13 23:31:30 | A memorable sequential digits timestamp. |
| 1700000000 | 2023-11-14 22:13:20 | A commonly used modern test value. |
| 2147483647 | 2038-01-19 03:14:07 | Largest signed 32 bit timestamp. |
| 2147483648 | 2038-01-19 03:14:08 | First second beyond the 32 bit limit. |
Common Mistakes
- Mixing seconds and milliseconds. Passing a 13 digit value to an API that expects 10 digits produces a date tens of thousands of years in the future.
- Assuming a timestamp has a time zone. It does not. Attaching an offset to the number itself is a modelling error; the offset belongs to the display or to the wall time you are converting.
- Parsing date strings loosely. Text such as 03/04/2026 means different dates in different regions. This tool requires an explicit YYYY-MM-DD format.
- Ignoring daylight saving time. A fixed offset such as UTC+01:00 is not the same as a named zone that changes twice a year. Choose the offset that applies on the date you are converting.
- Expecting leap seconds to appear. Unix time deliberately ignores them, so a difference computed from timestamps can be one second off from a leap second aware clock.
- Using floating point for nanoseconds. A JavaScript Number cannot represent every integer above 253, so 19 digit values need integer arithmetic.
- Forgetting negative timestamps. Historical data before 1970 is valid and must not be clamped to zero.
Practical Uses and Long-Tail Searches
Developers search for "epoch converter", "unix timestamp to date", "date to unix timestamp", "milliseconds to date", "epoch to ISO 8601", "convert epoch to local time", "what is 1700000000 in date" and "year 2038 timestamp". Typical jobs include debugging API payloads, reading log files, checking token expiry claims, comparing database rows, and building a scheduled task. For schedule syntax, the Cron Expression Generator and Validator shows upcoming run times; for travel and meeting planning, the world time lookup below helps align clocks across regions.
When you store time, keep the timestamp in UTC and convert to a local zone only at the display layer. That single rule removes most daylight saving bugs. If you also need a human readable calendar duration between two dates, compute it from dates, not by subtracting timestamps and dividing by a constant, because calendar months and years are not fixed lengths.
Authoritative References
- IEEE Std 1003.1 (POSIX) defines seconds since the Epoch as a value that approximates the number of seconds elapsed since 1970-01-01 00:00:00 Coordinated Universal Time, with leap seconds ignored.
- RFC 3339 defines the Date and Time on the Internet profile of ISO 8601, including the UTC offset notation used in timestamp strings.
- ISO 8601 specifies the calendar date and time representation, including the YYYY-MM-DD and extended time formats used on this page.
- ECMA-262 specifies the JavaScript Date object, whose time value is the number of milliseconds since the epoch and whose maximum range is plus or minus 8.64e15 milliseconds.
These standards are named as plain text for attribution; no outbound links are placed in this tool.
Key Takeaways
- Unix time counts uniform seconds since 1970-01-01 00:00:00 UTC and ignores leap seconds.
- A timestamp is time zone independent; only its display depends on an offset.
- Seconds, milliseconds, microseconds and nanoseconds differ by factors of 1,000.
- Dates before 1970 have negative timestamps, and signed 32 bit time ends at 2038-01-19 03:14:07 UTC.
- Use exact integer arithmetic for nanosecond values, and always state the unit next to the number.
Last updated: December 4, 2026 · All conversions run locally in your browser. No dates or timestamps are stored or transmitted.
Unix Timestamp Converter FAQ
A Unix timestamp is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC, excluding leap seconds.
No. A Unix timestamp is an absolute instant in UTC, and only its human readable display changes with the time zone.
A 10 digit value near 1.7 billion is seconds and a 13 digit value near 1.7 trillion is milliseconds; this tool also detects microseconds and nanoseconds automatically.
Dates before 1970 have negative Unix timestamps, because the epoch is simply the zero point on a continuous number line.
A signed 32 bit integer overflows at 2147483647 seconds, which is 2038-01-19 03:14:07 UTC, so older systems cannot represent later timestamps.
No. POSIX time counts uniform seconds and ignores leap seconds, so it differs from a clock that inserts them.
It converts whole numbers exactly between seconds, milliseconds, microseconds and nanoseconds using integer arithmetic, with no floating point rounding.
No. Every conversion runs locally in your browser and no timestamp or date is stored or transmitted.