Function month()
extracts the month of a time value and returns that integer.
Arguments:
- Time <datetime | timestamp | string>
Returns:
- Month <number>
Common Usage
Example: Calculate month of each row of an alias
uncollect ["2023-04-30 22:30:35", "2020-01-15 09:03:16"] as a
return month(a)
4
1