Function tarantool::clock::time64

source ·
pub fn time64() -> u64
Expand description

The wall clock time in nanoseconds since epoch.

Example:

// This will print an approximate number of years since 1970.
use tarantool::clock::time64;
println!("{}", time64() / (365 * 24 * 60 * 60));

See: time()