pub fn current_timestamp() -> u64Expand description
Returns the current Unix timestamp in seconds.
This is a centralized utility function to avoid duplicate implementations
across the codebase (CQ-H1). Uses SystemTime::now() with fallback to 0
if the system clock is before the Unix epoch.
ยงExamples
use subcog::current_timestamp;
let ts = current_timestamp();
assert!(ts > 0); // Should be a reasonable Unix timestamp