Convert Unix milliseconds to a UTC date

Turn 1793802615000 milliseconds since 1970 into the UTC date it falls on: November 4, 2026.

What you'll make

In Excel: Unix milliseconds 1793802615000 becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1DATE(1970,1,1)The day Unix time starts counting from.January 1, 1970
2A8The milliseconds since then.1793802615000
3/86400000Turns milliseconds into days: 86,400,000 in a day.November 4, 2026 2:30…
4INT( … )Drops the time of day, keeping the date.November 4, 2026

Read it left to right. Excel adds the days to January 1, 1970, then drops the time.

=INT(DATE(1970,1,1)+A8/86400000)

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 dates. Paste Unix milliseconds like 1793802615000 into the green column of the Template tab. The dates fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Check your numbers are milliseconds, usually 13 digits. Seconds have 10 and all land in January 1970.

Microsoft's help: DATE function