Function extract_from_timelike

Source
fn extract_from_timelike(time: impl Timelike, unit: Unit) -> Decimal
Expand description

Extract field from Timelike.