Skip to main content

Module time

Module time 

Source
Expand description

Safe time utilities for fault tolerance

Provides time operations that handle system clock errors gracefully, avoiding panics from misconfigured clocks (e.g. before UNIX epoch).

Functionsยง

current_timestamp
Get current Unix timestamp (seconds since epoch)