hours_between

Function hours_between 

Source
pub fn hours_between<Tz: TimeZone>(
    time1: &DateTime<Tz>,
    time2: &DateTime<Tz>,
) -> i64
where Tz::Offset: Display,
Expand description

Calculate the number of hours between two DateTimes