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()}")
}Вывод
11
pub(api) fn month() -> i64С версии. 1.0.0-beta
Возвращает
i64
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/time/time.oxl:1348