fn datetime_to_days<T: Datelike>(dt: &T) -> i32
Converts a DateTime to the number of days since Unix epoch (1970-01-01)