CLDR mm
Minute, padded.
04
at the reference instant, Mon, Jan 2 2006, 3:04:05 PM MST
The minute 00–59, zero-padded. CLDR lowercase m — one of the two most-swapped symbols in existence (MM is the month; mm the minute).
| Language | Token | Caveat |
|---|---|---|
| C / POSIX strftime | %M | |
| C# custom format | mm | A bare m (as "%m") gives the unpadded minute. |
| CLDR / ICU pattern | mm | A single m prints minimum digits (unpadded). |
| Go time layout | 04 | A bare 4 gives the unpadded minute. |
| Java DateTimeFormatter | mm | |
| JavaScript Intl.DateTimeFormat | minute: "2-digit" | minute: "numeric" exists but many locales render it two-digit anyway. |
| Moment.js format | mm | A single m gives the unpadded minute. |
| PHP date() | i | |
| Python strftime | %M | |
| Ruby strftime | %M | |
| Rust chrono | %M |
Definition anchored to Unicode UTS #35 — Date Field Symbol Table.