op Ldt.-
The exact duration between two local date-times.
Example:
fn main() io {
print("{(2026-11-03T12:00 - 2026-11-03T09:30).minutes()}")
}Output
150
pub(api) static op -(a: Ldt, b: Ldt) -> DurSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Ldt |
b | Ldt |
Returns
Dur
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1683