timestamp_age

Function timestamp_age 

Source
pub fn timestamp_age(timestamp_ms: i64) -> Duration
Expand description

Calculate age of a timestamp in milliseconds.

Returns Duration representing how long ago the timestamp was.