current_unix_time_secs

Function current_unix_time_secs 

Source
pub fn current_unix_time_secs() -> u64
Expand description

Returns the current unix time in seconds. This is useful both for when working with external APIs or libraries that expect a UNIX time, and for cleanly keeping track of time in one’s own code.