timestamp_secs

Function timestamp_secs 

Source
pub fn timestamp_secs() -> Timestamp
Expand description

Get current timestamp in seconds

ยงExample:

let ts = rmqtt_utils::timestamp_secs();
assert!(ts > 0);