Expand description
Time helpers used across the engine. Centralised so the same
SystemTime::now().duration_since(UNIX_EPOCH).unwrap_or_default()
incantation doesn’t get re-typed at 20+ call sites.
Functions§
- now_
unix_ millis - Current wall-clock unix milliseconds.
0if the system clock is before the epoch (impossible on real hardware, but the API returns aResultso we degrade gracefully instead of panicking). - now_
unix_ nanos - Current wall-clock unix nanoseconds.
- now_
unix_ secs - Current wall-clock unix seconds.