Read seconds since 1582 as timestamps

Turn an SPSS datetime value like 14013181815 into November 4, 2026 2:30:15 PM.

What you'll make

In Excel: Seconds since 1582 14013181815 becomes November 4, 2026 2:30:15 PM.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1DATE(1970,1,1)A start day Excel can handle.January 1, 1970
2A8The seconds since October 14, 1582.14013181815
3-12219379200Takes away the seconds from 1582 to 1970.1793802615
4/86400Turns seconds into days: 86,400 in a day.November 4, 2026 2:30…

Read it left to right. Excel counts from 1970 instead of 1582, then adds the days.

=DATE(1970,1,1)+(A8-12219379200)/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 numbers. Paste seconds like 14013181815 into the green column of the Template tab. The 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

Check the SPSS field holds a full date and time. A time-only field, like 52215, shows #### instead.

Microsoft's help: DATE function