CLDR ss
Second, padded.
05
at the reference instant, Mon, Jan 2 2006, 3:04:05 PM MST
The second 00–59, zero-padded (60 possible where leap seconds surface). strftime %S, CLDR ss.
| Language | Token | Caveat |
|---|---|---|
| C / POSIX strftime | %S | Range is [00,60] — 60 allows for leap seconds. |
| C# custom format | ss | A bare s (as "%s") gives the unpadded second. |
| CLDR / ICU pattern | ss | A single s prints minimum digits (unpadded). Truncated, not rounded. |
| Go time layout | 05 | A bare 5 gives the unpadded second. |
| Java DateTimeFormatter | ss | |
| JavaScript Intl.DateTimeFormat | second: "2-digit" | second: "numeric" exists but many locales render it two-digit anyway. |
| Moment.js format | ss | A single s gives the unpadded second. |
| PHP date() | s | |
| Python strftime | %S | |
| Ruby strftime | %S | |
| Rust chrono | %S | Range is 00–60 because chrono accounts for leap seconds. |
Definition anchored to Unicode UTS #35 — Date Field Symbol Table.