JDJulianDate.net
CYYDDD Explained

What is CYYDDD?

CYYDDD is an extended Julian date format that stores the century, two-digit year and day number within the year in one compact numeric value.

CYYDDD Format Explained

The CYYDDD format consists of three parts: C for the century digit, YY for the last two digits of the year, and DDD for the day number within that year.

1
The century digit. For years 2000–2099, this value is 1.
25
The year portion, representing 2025.
152
The day number within the year.
125152
The complete CYYDDD value for 1 June 2025.

CYYDDD Examples

These examples show how normal Gregorian dates are represented as CYYDDD values.

Gregorian DateCYYDDD
2025-01-01125001
2025-06-01125152
2025-12-31125365
2024-02-29124060

How to Convert a Date to CYYDDD

To convert a Gregorian date to CYYDDD, determine the century digit, take the last two digits of the year, and append the day number within that year.

1
For dates in 2000–2099, use century digit 1.
25
Use the last two digits of the year 2025: 25.
152
1 June is the 152nd day of 2025.
125152
Combine 1, 25 and 152 to get 125152.

How to Convert CYYDDD Back to a Date

To convert a CYYDDD value back to a Gregorian date, extract the century digit, year and day number. For example, 125152 means century 1, year 25 and day 152, which is 2025-06-01.

For automation or large datasets, use the Bulk Converter on JulianDate.net to convert multiple CYYDDD values at once.

Excel Formula for CYYDDD

If cell A2 contains a valid Excel date, this formula returns a 6-digit CYYDDD value:

=INT((YEAR(A2)-1900)/100)&TEXT(MOD(YEAR(A2),100),"00")&TEXT(A2-DATE(YEAR(A2),1,0),"000")

Some Excel regional settings use semicolons instead of commas. If needed, replace commas with semicolons in the formula.

YYDDD vs CYYDDD

Both formats use the year and the day number within the year, but CYYDDD adds a century digit at the beginning.

FormatExampleMeaning
YYDDD25152Year 2025, day 152
CYYDDD125152Century 1, year 25, day 152

CYYDDD is commonly seen in JD Edwards and other legacy ERP or operational systems where the century digit is stored as part of the date value.

Common Uses of CYYDDD

CYYDDD dates are often used when compact numeric date values are easier to store, export or compare than full calendar dates.

ERP systemsUsed in business systems, data exports and operational reporting.
JD EdwardsCommonly encountered in JDE-related data conversion and reporting work.
SpreadsheetsUseful for Excel users processing large lists of date values.
ManufacturingHelpful for production, batch, shipping and traceability data.
Legacy databasesCompact date formats are common in older data structures.
Data migrationCYYDDD often appears when moving historical operational data.

Try the CYYDDD Converter

Need to convert a single date, a CYYDDD value, or hundreds of rows from Excel? Use the free Julian Date Converter and Bulk Converter on JulianDate.net.