OxL Reference

data LocalDateTime

Date and time without a time zone (§17.1). Literal: 2026-11-03T18:00.

Example:

oxl✓ checked in CI
fn main() io {
  let t = 2026-11-03T18:30
  print("{t.date().toIso()} {t.timeOfDay().hour}")
}
Output
2026-11-03 18
@builtin("LocalDateTime") pub(api) data LocalDateTime

Thread safety. an immutable value.

Since. 1.0.0-beta

Defined in: std/core/types.oxl:161

See also