week - script and chart function
Last updated: 9/11/2025
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)
Return data type: integer