unix_time_secs

Function unix_time_secs 

Source
pub fn unix_time_secs() -> u64
Expand description

Return the current unix time in seconds used by lease lifecycle logic.

On native targets this returns the mock clock value so tests can control lease expiry deterministically. On WASM targets this currently returns 0.