op Tm.-
The instant b earlier.
Example:
use std.time { Time }
fn main() io {
print("{(Time.ofUnixSeconds(7200) - 1h).unixSeconds()}")
}Output
3600
pub(api) static op -(a: Tm, b: Dur) -> TmSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Tm |
b | Dur |
Returns
Tm
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:2021