Skip to main content

Module time

Module time 

Source
Expand description

Provides runtime timestamp formatting helpers.

§Examples

ⓘ
use pharos_runtime_core::time;
  • crate for sibling modules in the same crate.

Functions§

current_timestamp_utc
Returns the current UTC timestamp in Pharos runtime text format.
timestamp_after_seconds_utc
Returns the current UTC timestamp plus a bounded number of seconds.
timestamp_from_epoch_seconds
Formats an epoch-second value as the Pharos UTC timestamp string.