method Date.toIso
The date as ISO 8601: 2026-11-03.
Example:
use std.time { Date }
fn main() io {
print(Date.of(2026, 11, 3)!.toIso())
}Output
2026-11-03
pub(api) fn toIso() -> strSince. 1.0.0-beta
Returns
str
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1552