NTP era 0

NTP Timestamp

Seconds since 1900-01-01 UTC (wraps in 2036).

NTP timestamp

Paste an NTP second count (decimal or hex), or pick a date.

NTP timestamps count seconds since 00:00:00 UTC on 1 January 1900. Era 0 is the 32-bit seconds field used in classic NTP packets; it wraps when 2^32 seconds have elapsed, which falls in early February about 136 years after 1900. Paste a decimal second count or an 8-digit hex seconds field, or pick a UTC date to encode midnight. Unix time starts in 1970, 2,208,988,800 seconds later. GPS and TAI are different scales again. This page is for packet dumps and protocol clocks, not for civil meeting math.

Worked conversions

Pick 1 January 2026 00:00 UTC. Read NTP seconds and the 8-digit hex seconds field. Recode the hex on a second pass and confirm the ISO line returns the same midnight. That round-trip is the unit test for a parser.

Paste 2208988800 (decimal). UTC should be the Unix epoch, 1 January 1970. That constant is the NTP–Unix delta and belongs in every interop comment. Paste 0. UTC should be 1 January 1900. Negative Unix seconds for pre-1970 NTP values are expected; they are not a parse error.

The 32-bit wrap

Era 0 overflows at 2^32 seconds after 1 January 1900 UTC, on 7 February about 136 years after 1900 at 06:28:16 UTC. After that instant, a naïve 32-bit seconds field restarts. RFCs describe era 1 and 64-bit NTP timestamps so clocks can continue. This converter warns when an encoded date is past the 32-bit era-0 rollover and still shows a full second count for date-to-NTP direction.

Firmware that stores only 32 bits will look like 1900-era dates if you decode a post-wrap field as era 0 without adding 2^32. The same class of bug as GPS 10-bit week rollover, with a different period and epoch. Inventory scripts for 2026 should note whether devices will still be in service when era 0 wraps, and whether they already speak 64-bit NTP.

Frequently asked questions

What epoch does an NTP era-zero seconds field count from?

It counts seconds from 00:00:00 UTC on 1 January 1900. That is seventy years before the Unix epoch. The 32-bit era-0 field wraps 2 to the 32nd seconds later, in early February about 136 years after 1900. GPS weeks and TAI seconds use other starting points and should not be pasted here unlabeled.

How do I convert NTP seconds or hex into UTC?

Paste a decimal second count, or eight hex digits for the seconds field (optional 0x, extra fraction digits ignored after eight). The page prints UTC ISO, Unix seconds, and a wrap note. You can also pick a calendar date to encode midnight UTC as NTP seconds and hex. Split 64-bit dumps into seconds and fraction first.

Why does the 32-bit NTP seconds field wrap after 1900?

A 32-bit unsigned counter overflows at 4,294,967,296 seconds after 1 January 1900, which is 7 February about 136 years later at 06:28:16 UTC. Era 1 and 64-bit timestamps exist so clocks can continue. Decoding a post-wrap 32-bit field as era 0 without adding 2 to the 32nd yields a bogus early date.

Processing, please wait...