Unix timestamp · date conversion

Convert a Unix
timestamp to a date

Convert 10-digit seconds, 13-digit milliseconds, microseconds or nanoseconds into readable dates. Compare the same instant in UTC, Korea Standard Time, your device time zone and a selected city.

Automatic detection is useful when a source omits the unit, and you can always override it.

Enter a timestamp

Start with automatic detection when the source does not state a unit. If the date is unexpected, select the source unit directly.

Compare units only

Date conversion result—
UTC
—
Korea Standard Time
—
Your device time—
Selected time zone—
Relative time—
Internet date format—
Exact ISO 8601
—
Seconds—
Milliseconds—
Microseconds—
Nanoseconds—

—

Your number is converted only on this page. It is not sent or stored elsewhere.

Estimating the unit from digit count

Digit length is a useful clue near present-day dates, but the documented source unit always takes priority for historical or far-future values.

Digit guideLikely unitExampleWhat to verify
1–10 digitsSeconds1704067200Present-day seconds are usually 10 digits
11–13 digitsMilliseconds1704067200000Usually 1,000 times the seconds value
14–16 digitsMicroseconds17040672000000001,000 times finer than milliseconds
17+ digitsNanoseconds1704067200000000000Keep the value as an integer string
Precision is preserved. Large inputs are converted as integer nanoseconds without intermediate rounding. Fractional precision is retained in the ISO result where the date range permits.

Known values for checking a result

Use boundary values to confirm both the selected unit and the converter output.

Unix time zero

0 seconds is 1970-01-01 00:00:00 UTC and 1970-01-01 09:00:00 KST.

First instant of 2000

946684800 seconds is 2000-01-01 00:00:00 UTC, a convenient test value.

32-bit boundary

2147483647 seconds is 2038-01-19 03:14:07 UTC. The next second exceeds signed 32-bit storage.

One instant, many local clocks

A timestamp identifies one instant regardless of region. Choosing a time zone changes the calendar and clock used to display that instant, not the underlying Unix value.

U

UTC

The global reference used to compare records from different regions.

K

Korea Standard Time

KST is UTC+09:00 all year and currently has no daylight-saving changes.

TZ

Named city zones

New York, London and Sydney follow date-specific regional rules, including seasonal changes.

Display range: extremely large values cannot be represented as ordinary calendar dates. If you see a range error, check whether seconds were interpreted as milliseconds or vice versa.

Regional rules follow the IANA Time Zone Database. The calendar display limit is described in MDN's Date documentation.

Timestamp-to-date questions

Four checks to make when a converted date is not what you expected.

Why does my timestamp convert to a date in 1970?

The most common cause is a seconds-versus-milliseconds mismatch. Check whether a 13-digit millisecond value was read as seconds or a 10-digit seconds value was read as milliseconds.

Can I convert fractional Unix time?

Yes. Seconds can contain up to nine fractional digits, milliseconds up to six and microseconds up to three. Nanoseconds must be entered as an integer.

What does a negative timestamp mean?

A negative value represents an instant before 1970-01-01 00:00:00 UTC. For example, -1 second is 1969-12-31 23:59:59 UTC.

Why can the UTC and Korea dates be different days?

Korea Standard Time is nine hours ahead of UTC. A late-afternoon UTC instant can already be the next calendar day in Korea.