Function date_part_from_time

Source
fn date_part_from_time(time: Time, unit: &Unit) -> Result<F64>