OxL Reference

op Ldt.-

Exact arithmetic: the wall clock moves back by exactly d.

Example:

oxl✓ checked in CI
fn main() io {
  print("{(2026-11-03T00:15 - 30m).toIso()}")
}
Output
2026-11-02T23:45:00
pub(api) static op -(a: Ldt, d: Dur) -> Ldt

Since. 1.0.0-beta

Parameters

NameType
aLdt
dDur

Returns

Ldt

Effects

none declared (pure unless the body says otherwise)

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

See also