Function extract_from_timestamp

Source
fn extract_from_timestamp(timestamp: Timestamp, unit: &Unit) -> Decimal