Get the date from a compact timestamp

Turn the text 20261104143015 into a real date: November 4, 2026.

What you'll make

In Excel: 20261104143015 becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1LEFT(A8,4)Takes the first 4 digits: the year."2026"
2MID(A8,5,2)Takes 2 digits from the 5th: the month."11"
3MID(A8,7,2)Takes 2 digits from the 7th: the day."04"
4DATE( … )Puts them together as a real date.November 4, 2026

Only the first 8 digits count, so the time digits after them are left out.

=DATE(LEFT(A8,4),MID(A8,5,2),MID(A8,7,2))

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 timestamps. Paste timestamps like 20261104143015 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

This keeps the date as written. It doesn't move it to your time zone, so a late UTC time may be a day off locally.

Microsoft's help: DATE function