Extracts the month (1-12) from a date or datetime.
Accepts Date, NaiveDateTime, or DateTime structs.
Examples
month(date(2024, 6, 15)) → 6
Extracts the month (1-12) from a date or datetime.
Accepts Date, NaiveDateTime, or DateTime structs.
month(date(2024, 6, 15)) → 6