Create an eight-digit ddmmyyyy date

Turn November 4, 2026 into the text 04112026: day, month, then the full year.

What you'll make

In Excel: November 4, 2026 becomes 04112026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The real date.November 4, 2026
2"ddmmyyyy"The pattern: day, month, then the four-digit year."ddmmyyyy"
3TEXT( … )Writes the date in that pattern as text."04112026"

Day and month get two digits each, so 4 becomes 04 and every code has eight digits.

=TEXT(A8,"ddmmyyyy")

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

Before you send

Only use this where the system you send to asks for ddmmyyyy. Other systems may read the day as the month.

Microsoft's help: TEXT function