date_part_from_date

Function date_part_from_date 

Source
fn date_part_from_date(date: Date, unit: &Unit) -> Result<F64>