monthOfYear

Syntax

monthOfYear(X)

Arguments

X is a scalar/vector of type DATE, MONTH, DATETIME, TIMESTAMP or NANOTIMESTAMP.

Details

For each element in X, return a number from 1 to 12 indicating which month of the year it falls in.