op Ldt.-
Exact arithmetic: the wall clock moves back by exactly d.
Example:
fn main() io {
print("{(2026-11-03T00:15 - 30m).toIso()}")
}Output
2026-11-02T23:45:00
pub(api) static op -(a: Ldt, d: Dur) -> LdtSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Ldt |
d | Dur |
Returns
Ldt
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1671