OxL Reference

method Dur.days

Whole 24-hour days (truncated).

Example:

oxl✓ checked in CI
fn main() io {
  print("{50h.days()}")
}
Output
2
pub(api) fn days() -> i64

Since. 1.0.0-beta

Returns

i64

Effects

none declared (pure unless the body says otherwise)

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

See also