now

Function now 

Source
pub fn now() -> Option<u64>
Expand description

Returns the current time as the number of seconds since the Unix epoch.

ยงReturns

  • Some(u64): The current timestamp in seconds.
  • None: If the system clock is unavailable or an error occurs.