Skip to main content

date_diff

Function date_diff 

pub fn date_diff(start: Expr, end: Expr, unit: DateDiffUnit) -> Expr
Available on crate feature lazy only.
Expand description

Count the unit boundaries crossed from start to end, which is negative if end is before start.