Unix timestamp reference table

Last updated 2026-11-29

Four lookup tables: values worth remembering, unit widths, which unit your platform returns, and how one instant looks at different offsets.

Boundary and reference timestamps

Timestamp (s)Date and time (UTC)Why it is useful
01970-01-01T00:00:00Zthe epoch itself; this converter rejects it because input must be positive
11970-01-01T00:00:01Zsmallest integer the converter accepts
10000000002001-09-09T01:46:40Zfirst ten-digit value, a common test case
15000000002017-07-14T02:40:00Zround half-billion mark
17000000002023-11-14T22:13:20Zfrequently used in tutorials
17672256002026-01-01T00:00:00Zstart of 2026 in UTC
18000000002027-01-15T08:00:00Zstart of the 1.8 billion range
20000000002033-05-18T03:33:20Ztwo billion seconds
21474836472038-01-19T03:14:07Zsigned 32-bit maximum
21474836482038-01-19T03:14:08Zoverflows a signed 32-bit clock
41024448002100-01-01T00:00:00Zstart of the next century
10000000000002001-09-09T01:46:40Zread as milliseconds, not seconds, because it equals 1e12

The last row is the one that surprises people. 1e12 is the switch between the two units, so the same string of digits that would mean year 33658 in seconds is rendered as 2001 when it reaches the millisecond branch.

Digit width and unit

1 second = 1,000 ms = 1,000,000 µs = 1,000,000,000 ns

UnitMultiplier on secondsDigits in 2026Typical source
seconds× 110Unix time(), PHP time(), MySQL UNIX_TIMESTAMP()
milliseconds× 1,00013JavaScript Date.now(), Java currentTimeMillis()
microseconds× 1,000,00016some database exports and tracing systems
nanoseconds× 1,000,000,00019Go UnixNano(), Linux clock_gettime()

Digit width is the fastest check when no unit is documented. Count the characters before converting: ten digits is seconds until the year 2286, thirteen digits is milliseconds until 2286 as well, because both grow by one digit at the same moment. A value with sixteen digits is almost always microseconds from a tracing system, and a nineteen-digit value is nanoseconds that cannot be stored exactly as a JavaScript number.

Nanoseconds exceed 2^53, the largest integer JavaScript can hold exactly. Read them as a string or a BigInt, never as a plain number.

What each platform returns

PlatformCallUnit
JavaScriptDate.now()milliseconds
JavaSystem.currentTimeMillis()milliseconds
Pythontime.time()seconds, floating point
PHPtime()seconds
Gotime.Now().Unix()seconds
MySQLUNIX_TIMESTAMP()seconds
PostgreSQLEXTRACT(EPOCH FROM now())seconds, numeric

Mixing these is the usual cause of a date in 1970 or in 56000. If a millisecond value is passed where seconds are expected, the result lands about 50,000 years ahead; if seconds are passed where milliseconds are expected, the result lands in January 1970.

One instant, five offsets

OffsetLocal time for 1700000000Where it applies
UTC+02023-11-14 22:13:20United Kingdom in winter
UTC+12023-11-14 23:13:20Germany in winter
UTC+5:302023-11-15 03:43:20India
UTC+82023-11-15 06:13:20China, Singapore
UTC+92023-11-15 07:13:20Japan, South Korea
UTC−52023-11-14 17:13:20US Eastern in winter

The offset column is not stored in the timestamp. It comes from the time zone rules of the machine doing the rendering, which is why the same number can display differently on a laptop, a server in another region and a phone that has just crossed a border.

How to use these tables

Values above 2147483647 are fine in this converter but may fail in older databases and 32-bit libraries. Widen the column before you need it.

Open the Timestamp Converter

Keep reading