method i64.day
A period of one calendar day.
Example:
fn main() io {
print("{(2026-11-03 + 1.day()).toIso()}")
}Output
2026-11-04
pub(api) fn day() -> PeriodSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1130