Function timestamp

Source
pub fn timestamp() -> u64
Expand description

Gets the current timestamp in seconds since Unix epoch.

ยงReturns

u64: The current timestamp in seconds