method Tm.ofUnixMillis
The instant ms milliseconds after the Unix epoch.
Example:
use std.time { Time }
fn main() io {
print("{Time.ofUnixMillis(1500).unixSeconds()}")
}Output
1
pub(api) static fn ofUnixMillis(ms: i64) -> TmSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
ms | i64 |
Returns
Tm
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1818