Unix Time Guide

A concise reference for the timestamp concepts developers run into most often.

What is Unix time?

Unix time (also called Epoch time or POSIX time) counts elapsed time since a fixed starting point. Every instant is represented by a single number, and that number is the same everywhere on Earth because it points to a moment rather than a clock reading.

What is the Unix epoch?

The epoch is 00:00:00 UTC on 1 January 1970. Unix time is simply the count of time elapsed since that moment, so a value of zero is the epoch itself.

Unix time vs Epoch time

“Unix time”, “Epoch time” and “POSIX time” all refer to the same count from the 1970 epoch. The terms are used interchangeably, so you will often see them mixed across documentation and APIs.

Seconds, milliseconds, microseconds and nanoseconds

The original time_t counts seconds (10 digits today). JavaScript and Java often count milliseconds (13 digits). Some systems store microseconds (16 digits) or nanoseconds (19 digits) for higher-resolution timing.

  • Seconds — 1786113689 (10 digits)
  • Milliseconds — 1786113689000 (13)
  • Microseconds — 1786113689123456 (16)
  • Nanoseconds — 1786113689123456789 (19)

These digit lengths are a useful guide, not an absolute rule for every historical or future value, which is why the converter offers a manual unit override — see the milliseconds tool for 13-digit values.

Does Unix time have a timezone?

No. A Unix timestamp identifies an instant and carries no timezone. The wall-clock reading differs per zone, but the instant does not. The same timestamp shows as 14:41 in London and 09:41 in New York; both describe the exact same moment.

UTC and local time

UTC is the reference scale Unix time is anchored to. A local timezone is just an offset (with daylight-saving rules) applied for display. When you exchange a moment between systems, keep the timestamp as the source of truth and let each system render it locally. The timezone converter shows one instant across UTC, local and one IANA zone.

ISO 8601 and RFC 3339

ISO 8601 and RFC 3339 are the standard text formats for dates, e.g. 2026-08-07T14:41:29Z. The trailing Z means UTC; an offset like +05:30 means that many hours ahead of UTC. A date-only string such as 2026-08-07 is treated as UTC, while a date-time string without a zone is parsed as local time in most browsers.

Negative Unix timestamps and dates before 1970

Negative Unix values count backwards from the epoch, so any date before 1970 is represented with a minus sign. -1 is the last second of 1969. The converter handles negative values like any other.

The Year 2038 problem

A signed 32-bit time_t runs out of values on 19 January 2038 and wraps around. Systems already using 64-bit time are unaffected, but some legacy embedded systems and storage formats still need migrating.

Common timestamp conversion mistakes

  • Assuming 13 digits is seconds — it is milliseconds (1000× off).
  • Treating a timestamp as if it carries a timezone — it does not.
  • Passing 16- or 19-digit values through JavaScript Number — precision is lost past 2⁵³.
  • Forgetting that YYYY-MM-DD parses as UTC, while a date-time string without a zone parses as local.

How Unix Time Tools handles precision

Numeric input is treated as a string first and the timestamp is handled with integer (BigInt) arithmetic, so 16-digit microsecond and 19-digit nanosecond values are never silently rounded through JavaScript Number. The millisecond part feeds the display date and the remaining sub-millisecond precision is kept separately so the output stays exact. This preserves the precision of the value you provide — it does not mean the browser’s system clock itself has nanosecond accuracy.

Browser-side privacy

Every conversion runs entirely in your browser. The values you enter are not intentionally transmitted to an application database, there are no user accounts, and no conversion history is kept. See the Privacy Policy for the full detail.

Quick conversion examples

Unix seconds1786113689
Unix milliseconds1786113689000
UTC date / time2026-08-07 14:41:29
ISO 86012026-08-07T14:41:29Z

Try these live on the converter or convert a batch.

Unix Time ToolsUnix Time Tools

Fast, accurate Unix timestamp tools for developers. Processed entirely in your browser.

© 2026 Unix Time Tools. All conversions run locally in your browser.