This function returns an integer representing the week number according to ISO 8601. The week number is calculated from the date interpretation of the expression, according to the standard number interpretation.
Syntax:
week(expression)
Example
Result
week(
'2012-10-12' )
returns 44
week(
'35648' )
returns 32, because 35648 = 1997-08-06
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!