weekOfYear

Syntax

weekOfYear(X)

Arguments

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

Details

For each element in X, return a number indicating which week of the year it falls in. Each week starts on Monday.