OxL Reference

type LocalDateTime

A date and time without a time zone (the type is declared in the prelude; literal 2026-11-03T18:00).

Example:

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

fn main() io {
  let t: LocalDateTime = 2026-11-03T18:00
  print("{(t + 90m).toIso()}")
}
Output
2026-11-03T19:30:00
pub(api) type LocalDateTime = std.core.LocalDateTime

Since. 1.0.0-beta

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

See also