OxL Reference

method i64.day

A period of one calendar day.

Example:

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

Since. 1.0.0-beta

Returns

Period

Effects

none declared (pure unless the body says otherwise)

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

See also