Skip to main content

day_diff

Function day_diff 

Source
pub fn day_diff(s1: &str, s2: &str) -> i64
Expand description

Absolute day difference between two “YYYYMMDD” strings (JS dayDiff).