pub fn month(array: &dyn Array) -> Result<PrimitiveArray<u32>>
Available on crate feature compute_temporal only.
Expand description

Extracts the months of a temporal array as PrimitiveArray<u32>. Value ranges from 1 to 12. Use can_month to check if this operation is supported for the target DataType.