Convert a JD Edwards date code

Turn the JD Edwards code 126308 (day 308 of 2026) into a real date: November 4, 2026.

What you'll make

In Excel: 126308 becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
11900+INT(A8/1000)Adds the first 3 digits, years since 1900, to 1900.2026
21Starts counting from January.1
3MOD(A8,1000)Takes the last 3 digits: the day of the year.308
4DATE( … )Counts that many days into the year.November 4, 2026

Read it left to right. Excel counts on past the end of January, through the months, to day 308.

=DATE(1900+INT(A8/1000),1,MOD(A8,1000))

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 date codes like 126308 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

A day past the end of the year rolls into the next year, so check odd codes.

Microsoft's help: DATE function