OxL Reference

method Date.day

The day of the month, 1 to 31.

Example:

oxl✓ checked in CI
use std.time { Date }

fn main() io {
  print("{Date.of(2026, 11, 3)!.day()}")
}
Output
3
pub(api) fn day() -> i64

Since. 1.0.0-beta

Returns

i64

Effects

none declared (pure unless the body says otherwise)

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

See also