method Date.month
The month of the date, 1 to 12.
Example:
use std.time { Date }
fn main() io {
print("{Date.of(2026, 11, 3)!.month()}")
}Output
11
pub(api) fn month() -> i64Since. 1.0.0-beta
Returns
i64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1348