date_formatter

Function days_between

Source
pub fn days_between(date1: NaiveDate, date2: NaiveDate) -> i64
Expand description

计算两个日期之间的天数差异。