OxL Reference

method Tm.unixNanos

Nanoseconds since the Unix epoch.

Example:

oxl✓ checked in CI
use std.time { Time }

fn main() io {
  print("{Time.ofUnixSeconds(1).unixNanos()}")
}
Output
1000000000
pub(api) fn unixNanos() -> i64

Since. 1.0.0-beta

Returns

i64

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:1874

See also