Function actix_plus_utils::current_unix_time_secs[][src]

pub fn current_unix_time_secs() -> u64

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.