pub(super) fn hours_since(next_hour_ts: u64) -> u64
Calculate the number of hours since a given timestamp.