Skip to main content

get_current_timestamp

Function get_current_timestamp 

Source
pub fn get_current_timestamp() -> u64
Expand description

Gets the number of seconds since the Unix epoch, which is an appropriate value for the “iat” field.