OxL Reference

method Ldt.date

The date part.

Example:

oxl✓ checked in CI
fn main() io {
  print("{2026-11-03T18:30.date().toIso()}")
}
Output
2026-11-03
pub(api) fn date() -> Date

Since. 1.0.0-beta

Returns

Date

Effects

none declared (pure unless the body says otherwise)

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

See also