pub fn current_unix_secs() -> u64
Returns the current Unix time in seconds, falling back to 0 on error.
Provided as a free function so callers that already have a timestamp do not need to touch the system clock.