NTP Timestamp Converter — Seconds Since 1900
Network Time Protocol timestamps count seconds since January 1, 1900 UTC — not 1970. This converter bridges NTP time and Unix time, and shows the raw 64-bit packet form used on the wire.
NTP timestamp.
Seconds since January 1, 1900 — the network time protocol's era-0 epoch — with the raw 64-bit packet representation included.
Fractional seconds are supported — the 32-bit fraction field is shown in the hex row.
The NTP epoch
When NTP was designed, the natural epoch was January 1, 1900. The gap to the Unix epoch (1970) is exactly 2208988800 seconds, so the conversions are:
- NTP → Unix:
unix = ntp - 2208988800. - Unix → NTP:
ntp = unix + 2208988800.
The current time is about 3995049600 NTP seconds — note that this is already over 231, which is why NTP packets split the field into seconds and a fraction.
The 64-bit packet format
NTP packets carry timestamps as two 32-bit words: a seconds field since 1900 and a fraction field that divides the second into 232 parts. The tool's "64-bit NTP hex" row shows both words side by side, so you can match a value against a packet capture:
3995049600seconds → hex seconds wordee26c000.- The fraction
0.5→ hex fraction word80000000(half of 232).
Example conversions
2208988800→ January 1, 1970 00:00:00 UTC — the Unix epoch, in NTP terms.3995049600→ August 7, 2026 00:00:00 UTC.
In your own code
- Python:
datetime.fromtimestamp(ntp - 2208988800, tz=timezone.utc). - Go:
time.Unix(int64(ntp-2208988800), 0).UTC(). - C#:
DateTimeOffset.FromUnixTimeSeconds((long)(ntp - 2208988800)).
Gotchas
- Era rollover in 2036 — the 32-bit seconds field wraps on February 7, 2036. After that, NTP "era 1" values (232 + offset) still decode correctly here because the arithmetic is continuous.
- Fractions — a decimal input like
3995049600.5means half a second; the tool converts both the decimal and the 32-bit fraction word. - Don't mix epochs — adding 2208988800 to a value that is already Unix time lands you 70 years in the future. Check which clock produced the value.
- NTP era 0 vs 1 — logs sometimes show raw 32-bit fields after the 2036 wrap; add 232 if the date looks ~136 years in the past.
Related tools
Prefer the modern epoch? Use theUnix timestamp to date converter, or theGPS time converter for the other major atomic-time scale.
Related converters
- Full online epoch converter — Unix time with batch conversion and code snippets.
- Unix timestamp to date converter — decode any epoch value into a readable date.
- Date to epoch converter — turn any date string back into a Unix timestamp.
- Milliseconds to epoch converter — for
Date.now()values and high-precision APIs. - Snowflake ID converter — decode Discord and Twitter/X 64-bit IDs.
- LDAP / Active Directory timestamp converter— 100-nanosecond FileTime values.
- GPS time converter — week numbers and seconds-of-week since 1980.
- NTP timestamp converter — seconds since 1900, with the 64-bit packet form.
- .NET DateTime ticks converter — 100-nanosecond ticks since year 1.
- Mac HFS+ timestamp converter — seconds since 1904.
- Excel date converter — OADate serial numbers, days since 1900.