Unix Timestamp Converter

Convert between Unix epoch timestamps and human-readable dates in both UTC and local time.

Conversion direction

Unix timestamp (seconds)

Seconds since 1970-01-01 00:00:00 UTC (epoch).
Unix seconds
1,781,795,418

6/18/2026, 8:40:18 PM

Unix (seconds)

1,781,795,418

Unix (ms)

1,781,795,418,000

UTC

Thu, 18 Jun 2026 15:10:18 GMT

Local

6/18/2026, 8:40:18 PM

ISO 8601

2026-06-18T15:10:18.000Z

Formula
date = new Date(seconds × 1000); seconds = floor(dateMilliseconds ÷ 1000)
Examples
InputResult
0Thu, 01 Jan 1970 00:00:00 GMT
1700000000Tue, 14 Nov 2023 22:13:20 GMT

About this calculator

A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC. It is widely used in programming, databases, APIs and logs because it is an unambiguous, time-zone-independent representation of a moment in time. This converter turns a timestamp into a readable date and turns a date back into a timestamp.

Because JavaScript dates work in milliseconds, the converter multiplies seconds by 1000 when building a date and divides by 1000 when producing a timestamp. Results are shown in both UTC and your local time zone, plus the ISO 8601 string and the millisecond value for convenience.

Frequently asked questions

Standard Unix timestamps are in seconds. This tool expects seconds and also shows the millisecond value (seconds x 1000) used by JavaScript.

A timestamp marks one exact instant. UTC shows it at the prime meridian; local applies your device time zone offset, so the wall-clock time can differ by hours.

The epoch is 1970-01-01 00:00:00 UTC. A timestamp of 0 is exactly that moment, and timestamps count seconds forward from it.

Did this calculator help you?