Function timestamp_utc
Source pub fn timestamp_utc() -> Option<i64>
Expand description
Returns an Option<i64>
with the current UTC timestamp in seconds.
§Example
use quad_timestamp::timestamp_utc;
let timestamp = timestamp_utc();
§Returns
Option<i64>
- The current UTC timestamp in seconds. None if the timestamp could not be retrieved.