method Tm.unixSeconds
Whole seconds since the Unix epoch.
Example:
use std.time { Time }
fn main() io {
print("{Time.ofUnixSeconds(42).unixSeconds()}")
}Output
42
pub(api) fn unixSeconds() -> i64Since. 1.0.0-beta
Returns
i64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1846