JDE Julian Date Converter
JD Edwards dates are CYYDDD numbers such as 126001. Paste a date such as 2026-01-01 to convert the other way.
Opens on today's date in your time zone.
Convert a whole column
Paste one value per line, straight from a spreadsheet or a query result. Blank lines stay blank, so the result pastes back into the same rows. Dates go in as 2026-01-01, 2026/01/01 or 20260101. A 0 comes out blank and 999999 as 9999-12-31, as Oracle's JDBC driver reads them.
The six-digit dates in JD Edwards tables and exports, turned into calendar dates, and back.
How JD Edwards stores a date
As a six-digit number in the form CYYDDD. Oracle's documentation spells it out: C is added to 19 to give the century, YY is the year within the century, and DDD is the day of the year. So 126001 breaks into 1, 26 and 001: the first day of 2026. The last three digits count from 001 on 1 January to 365, or 366 in a leap year, on 31 December.
Two things follow from that. Dates in the 1900s have a century digit of 0, so a table holding them as numbers shows five digits: Oracle's 098185, 4 July 1998, appears as 98185. And the arithmetic is simple: the year is 1900 plus the value divided by 1000, ignoring the remainder, and the remainder is the day of the year. Every formula below is a version of those two steps. Oracle's EnterpriseOne guide uses the same numbers: 099152 is 1 June 1999 and 100153 is 1 June 2000, one day further into the year because 2000 was a leap year.
JDE dates in Excel, SQL Server, Oracle, Db2, Python and JavaScript
JDE dates usually turn up outside JD Edwards in an export or a query. In each recipe, jde or A2 is the JDE number and d or B2 is a date. The Python and JavaScript versions were run against Oracle's examples and the leap days that catch out naive versions; the Excel and SQL versions use each vendor's documented functions.
- To date
- =DATE(1900+INT(A2/1000),1,MOD(A2,1000))
- To JDE
- =(YEAR(B2)-1900)*1000+B2-DATE(YEAR(B2),1,1)+1
- To date
- DATEADD(DAY, CAST(jde AS INT) % 1000 - 1, DATEFROMPARTS(1900 + CAST(jde AS INT) / 1000, 1, 1))
- To JDE
- (YEAR(d) - 1900) * 1000 + DATEPART(DAYOFYEAR, d)
- To date
- TO_DATE(TO_CHAR(jde + 1900000), 'YYYYDDD')
- To JDE
- TO_NUMBER(TO_CHAR(d, 'YYYYDDD')) - 1900000
- To date
- DATE(DIGITS(DEC(jde + 1900000, 7, 0)))
- To JDE
- (YEAR(d) - 1900) * 1000 + DAYOFYEAR(d)
- To date
- datetime.strptime(str(jde + 1900000), "%Y%j").date()
- To JDE
- (d.year - 1900) * 1000 + d.timetuple().tm_yday
- To date
- new Date(Date.UTC(1900 + Math.floor(jde / 1000), 0, jde % 1000))
- To JDE
- (d.getUTCFullYear() - 1900) * 1000 + (d - Date.UTC(d.getUTCFullYear(), 0, 1)) / 864e5 + 1
In Excel, format the result of the first formula as a date, and if the second shows a date instead of a number, set the cell to General. In SQL Server the CAST matters when the column is a decimal type, because dividing a decimal by 1000 keeps the fraction. The Oracle and Db2 versions add 1900000 to turn CYYDDD into YYYYDDD, a four-digit year followed by the day, which both databases read directly. Leave out 0 and 999999 before converting, since neither is a date. And a JDE date has no time zone and no time of day, just the day.
Other dates called Julian
Three different things share the name, and searching for a Julian date converter turns up all of them:
- JD Edwards CYYDDD, six digits such as 126001. What this page converts.
- Year and day, YYYYDDD or YYDDD, such as 2026001 or 26001. A seven-digit YYYYDDD is the JDE number plus 1900000, as Oracle's guide to its JD Edwards World JDBC driver spells out. A five-digit YYDDD looks exactly like a 1900s JDE date, so where the value came from decides what it means.
- The astronomical Julian Date, a running count of days since 4713 BC that is about 2.46 million today. It has nothing to do with JD Edwards, and a converter built for it reads a CYYDDD value as a day thousands of years ago.
JDE Julian date FAQs
What is a JDE Julian date?
The way JD Edwards stores a date: a number in CYYDDD form. C is the century, added to 19 (0 for the 1900s, 1 for the 2000s), YY is the year within the century and DDD is the day of the year. So 126001 is 1 January 2026 and 126365 is 31 December 2026. Oracle documents the same format for JD Edwards World and EnterpriseOne.
How do I convert a JDE Julian date in Excel?
Use =DATE(1900+INT(A2/1000),1,MOD(A2,1000)) and format the cell as a date. INT(A2/1000) gives the years since 1900 and MOD(A2,1000) the day of the year; DATE then counts that many days into January, rolling into later months as Excel documents. The same formula works in Google Sheets. To go back, =(YEAR(B2)-1900)*1000+B2-DATE(YEAR(B2),1,1)+1 turns a date into a JDE number; if the result shows as a date, set the cell to General.
How do I convert a JDE date to a regular date in SQL?
In Oracle, TO_DATE(TO_CHAR(jde + 1900000), 'YYYYDDD'). In SQL Server, DATEADD(DAY, CAST(jde AS INT) % 1000 - 1, DATEFROMPARTS(1900 + CAST(jde AS INT) / 1000, 1, 1)). On IBM i, DATE(DIGITS(DEC(jde + 1900000, 7, 0))). Adding 1900000 turns CYYDDD into a year and day such as 2026001, which Oracle's YYYYDDD format and Db2's DATE function both read. The CAST in SQL Server keeps the division whole when the column is a decimal type.
What is today's JDE Julian date?
The converter above shows it in your time zone, in the Today row. The number goes up by one each day: 24 November 2026 is 126328, and on 1 January 2027 it jumps to 127001.
Why do some JDE dates have only five digits?
Because the century digit for the 1900s is 0, and a number drops its leading zero. Oracle writes 4 July 1998 as 098185; a table or an export holds it as 98185. Any five-digit JDE date is in the 1900s. If five-digit values came from a system that writes plain YYDDD, they may be 2000s dates instead, which the converter points out.
Is a JDE Julian date the same as an astronomical Julian date?
No. The astronomical Julian Date, used by the US Naval Observatory and astronomers, is a continuous count of days since noon Universal Time on 1 January 4713 BC, and is around 2.46 million for dates in the 2020s. A JDE date is a year and a day of that year written together. Paste one into the other kind of converter and the answer is nonsense, which is why this one recognises Julian Day Numbers and says so.
What happens to JDE dates after 2099?
The century digit becomes 2, since 2 added to 19 gives 21. 1 January 2100 is 200001. The format runs out after 2899, when the century digit would need two places.
Why is day 366 sometimes rejected?
Day 366 only exists in leap years. 2024 had 366 days, so 124366 is 31 December 2024; 2025 had 365, so 125366 is not a date. Century years are leap years only when divisible by 400: 2000 was one and 1900 was not.
What is a seven-digit Julian date such as 2026001?
A four-digit year followed by the day of the year, YYYYDDD. It is what Oracle's YYYYDDD format and Db2's DATE function read, and it is the JDE number plus 1900000: 2026001 is 1 January 2026, which is 126001 in JD Edwards. Paste one into the converter and it says so.
What do 0 and 999999 mean in a JDE date field?
Neither is a date. Oracle's JDBC driver for JD Edwards World reads 0 as NULL, no date at all, and 999999 as 31 December 9999. The converter does the same: in a pasted column, 0 comes out blank and 999999 as 9999-12-31. The formulas on this page know nothing about either, so leave them out first, for example with WHERE jde NOT IN (0, 999999), or they turn into wrong dates or errors.
Is anything I paste sent to a server?
No. The conversion runs entirely in your browser and the page works offline.
Related tools
- Excel Serial Date ConverterExcel serial numbers to dates and back, Unix timestamps included, with the 1904 date system and the 1900 leap year bug handled.
- Epoch ConverterUnix timestamps to dates and back, with seconds, milliseconds, microseconds or nanoseconds detected automatically.
- Time Zone ConverterCompare cities side by side and find an hour that works for everyone, with daylight saving handled for any date.