OxL Reference

method i64.days

A period of this many calendar days.

Example:

oxl✓ checked in CI
fn main() io {
  print("{(2026-11-03 + 10.days()).toIso()}")
}
Output
2026-11-13
pub(api) fn days() -> Period

Since. 1.0.0-beta

Returns

Period

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:1118

See also