Unix timestamp

1796189390

Wednesday, December 2, 2026 12:29:50 AM EST

2026-12-02 05:29:50 UTC

Need μs or ns round-trips and digit-length auto-detect? Use the Unix ns / μs converter.

Unix time counts whole seconds since the Unix epoch: 1970-01-01 00:00:00 UTC. Developers encounter epoch values in logs, JWT exp claims, database columns, and API payloads. This converter decodes seconds into readable civil datetime and encodes calendar input back into epoch form so you can debug timestamps without guessing time zones or leap-second policy.

How Unix epoch seconds work

The epoch is not a timezone; it is a fixed instant. Each increment adds one SI second in the Unix convention, which ignores leap seconds for most software stacks. Libraries map known anchors regardless of whether a leap second occurred that year. Negative values represent instants before 1970, still appearing in legacy financial and scientific datasets.

Millisecond timestamps append three digits. Divide millisecond fields by 1000 before pasting when your source stores ms. Nanosecond logs from some languages need similar scaling down to whole seconds for this UI.

Worked examples

Example A: an API returns exp=1735689600 in a JWT. Decode here to see token expiry in UTC, then compare with your laptop clock. If it reads one hour early, check whether the API documents UTC while you read local time.

Example B: seed a database with midnight UTC on the first day of 2026. Encode that calendar date, copy the epoch integer into your INSERT script, and round-trip decode once to confirm. Cross-check with the ISO 8601 converter if the column expects strings.

Accuracy, time zones, and display

Decoding is exact for integers your engine supports. Display shifts when you choose a local offset: the underlying instant stays the same while the printed clock time moves. Daylight saving transitions can make two different local times map to the same offset on spring-forward days — note whether your pipeline stores UTC or local civil time.

For legal deadlines tied to a city, pair epoch decoding with the time zone hub rather than assuming UTC. For scheduling relative to today, the days until calculator handles civil dates without epoch math.

Frequently asked questions

What is the Unix epoch?

The Unix epoch is 1970-01-01 00:00:00 UTC, the zero reference for POSIX time. Timestamps count whole seconds after that instant unless your system uses milliseconds. The epoch is always UTC — local midnight on January 1 in Chicago is a different integer than UTC midnight.

Are Unix timestamps in seconds or milliseconds?

Classic Unix time uses ten-digit second counts. JavaScript and many mobile APIs use thirteen-digit milliseconds. Count digits before pasting — divide by 1000 when needed. Mixing units is the most common cause of dates landing in 1970 or 50,000 CE in debug panels.

Does this tool respect my time zone?

Encoding and decoding use the instant correctly; display may shift when you pick a local offset for readability. The underlying second count is identical worldwide. Document whether your database column stores UTC or local civil time so teammates decode consistently.

Processing, please wait...