CLDR HH
Hour, 24-hour clock, padded.
15
at the reference instant, Mon, Jan 2 2006, 3:04:05 PM MST
The hour 00–23, zero-padded — strftime %H, CLDR HH, Go's mnemonic 15.
| Language | Token | Caveat |
|---|---|---|
| C / POSIX strftime | %H | |
| C# custom format | HH | |
| CLDR / ICU pattern | HH | |
| Go time layout | 15 | Always zero-padded; Go has no unpadded 24-hour token. |
| Java DateTimeFormatter | HH | |
| JavaScript Intl.DateTimeFormat | hour: "2-digit", hourCycle: "h23" | |
| Moment.js format | HH | |
| PHP date() | H | |
| Python strftime | %H | |
| Ruby strftime | %H | %k is the blank-padded form; %-H strips padding entirely. |
| Rust chrono | %H | %k is the space-padded form (same as %_H); %-H suppresses padding. |
Definition anchored to Unicode UTS #35 — Date Field Symbol Table.