DB
FunctionsDate & Time

to_week

Extracts the week component from a date or timestamp and returns it as an integer. An optional mode argument of 3 uses ISO week numbering.

to_week(…) → Int64

Kind · scalar

Extracts the week component from a date or timestamp and returns it as an integer. An optional mode argument of 3 uses ISO week numbering.

Part of the Date & Time family.