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