CLDR dd
Day of month, padded.
02
at the reference instant, Mon, Jan 2 2006, 3:04:05 PM MST
The day zero-padded to two digits, 01–31 — the ISO 8601 form (strftime %d, CLDR dd).
| Language | Token | Caveat |
|---|---|---|
| C / POSIX strftime | %d | %e gives the space-padded day instead. |
| C# custom format | dd | |
| CLDR / ICU pattern | dd | |
| Go time layout | 02 | |
| Java DateTimeFormatter | dd | |
| JavaScript Intl.DateTimeFormat | day: "2-digit" | |
| Moment.js format | DD | |
| PHP date() | d | |
| Python strftime | %d | |
| Ruby strftime | %d | |
| Rust chrono | %d | %e is the space-padded day (same as %_d); %-d suppresses padding entirely. |
Definition anchored to Unicode UTS #35 — Date Field Symbol Table.