cargo::core::global_cache_tracker

Function to_timestamp

Source
fn to_timestamp(t: &SystemTime) -> u64
Expand description

Converts a SystemTime to a Timestamp which can be stored in the database.