JDJulianDate.net
YYDDD Explained

What is YYDDD?

YYDDD is a compact Julian date format that stores a calendar date as a two-digit year followed by the day number within that year.

YYDDD Format Explained

The YYDDD format consists of two parts: YY for the last two digits of the year, and DDD for the day number within that year.

25
The year portion, representing 2025.
152
The day number within the year.
25152
The complete YYDDD value for 1 June 2025.

YYDDD Examples

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

Gregorian DateYYDDD
2025-01-0125001
2025-06-0125152
2025-12-3125365
2024-02-2924060

How to Convert a Date to YYDDD

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

2025
Use the last two digits of the year: 25.
June 1
1 June is the 152nd day of 2025.
25152
Combine 25 and 152 to get 25152.

How to Convert YYDDD Back to a Date

To convert a YYDDD value back to a Gregorian date, extract the year and the day number. For example, 25152 means year 2025 and day 152, which is 2025-06-01.

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

Excel Formula for YYDDD

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

=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.

Common Uses of YYDDD

YYDDD 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 migrationYYDDD often appears when moving historical operational data.

Try the YYDDD Converter

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