nautilus_core::datetime

Function is_within_last_24_hours

source
pub fn is_within_last_24_hours(timestamp_ns: UnixNanos) -> Result<bool>
Expand description

Check whether the given UNIX nanoseconds timestamp is within the last 24 hours.