CLDR D

Day of year.

2

at the reference instant, Mon, Jan 2 2006, 3:04:05 PM MST

The ordinal day within the year, 1–366 (Jan 2 = 2). strftime %j pads to three digits; CLDR D does not pad unless written DDD.

LanguageTokenCaveat
C / POSIX strftime%jZero-padded to three digits [001,366].
CLDR / ICU patternDMinimum digits, so unpadded; DDD zero-pads to three.
Go time layout002Zero-padded to three digits; __2 gives the space-padded form. Added in Go 1.13.
Java DateTimeFormatterDUnpadded; DDD zero-pads to three digits. More than three letters is an error.
Moment.js formatDDDUnpadded; DDDD zero-pads to three digits.
Python strftime%jZero-padded to three digits (002).
Ruby strftime%jZero-padded to three digits, range 1..366.
Rust chrono%jZero-padded to three digits (001–366).

Definition anchored to Unicode UTS #35 — Date Field Symbol Table.