Read network time with a known era

Turn NTP seconds, era and fraction fields into UTC time, even after the 2036 wrap.

What you'll make

In Excel: 4002791415, era 0, 2147483648 becomes 11/4/2026 14:30:15.500.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1DATE(1970,1,1)The start date the days are added to.1/1/1970 00:00:00.000
2A8+B8*4294967296Seconds since 1900, plus a full count for each era.4002791415
3-2208988800Takes off the seconds from 1900 to 1970.1793802615
4+C8/4294967296Adds the fraction field as part of a second.1793802615.5
5/86400Turns seconds into days: 86,400 in a day.11/4/2026 14:30:15.500

Read it left to right. The era counts how often the seconds field has wrapped since 1900.

=DATE(1970,1,1)+(A8+B8*4294967296-2208988800+C8/4294967296)/86400

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own fields. Paste each row's seconds field, era and fraction field into the green columns of the Template tab. The UTC dates and times fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Fill in the era yourself for every row. From February 7, 2036 the seconds start again at 0, so era 0 is wrong.

Microsoft's help: DATE function