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

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | 1900+INT(A8/1000) | Adds the first 3 digits, years since 1900, to 1900. | 2026 |
| 2 | 1 | Starts counting from January. | 1 |
| 3 | MOD(A8,1000) | Takes the last 3 digits: the day of the year. | 308 |
| 4 | DATE( … ) | 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.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own dates. Paste date codes like 126308 into the green column of the Template tab. The dates fill in by themselves.
- 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
OTHER ROUTES YOU MIGHT LIKE

Convert date text but skip placeholders
N/A → blank; 4-Nov-2026 → November 4, 2026
Get the template →
Read the date from an email timestamp
Wed, 04-Nov-2026 14:30:15 +0000 → November 4, 2026
Get the template →
Build a date when January is month 0
2026 + 10 + 4 → November 4, 2026
Get the template →
Show a letter date as November 5, 2026
11/5/2026 → November 5, 2026
Take this route →