method i64.weeks
A period of this many weeks (7 calendar days each).
Example:
fn main() io {
print("{(2026-11-03 + 2.weeks()).toIso()}")
}Output
2026-11-17
pub(api) fn weeks() -> PeriodSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1094