--- title: "GetIso8601WeekOfYear" slug: "getiso8601weekofyear" updated: 2024-04-16T11:16:20Z published: 2024-04-16T11:16:20Z canonical: "help.mail-and-deploy.com/getiso8601weekofyear" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # GetIso8601WeekOfYear ### General This function returns a Number that contains the week of year according to ISO 8601 for a given Date-Time. ### Syntax You can call the GetIso8601WeekOfYear function using the following syntax: GetIso8601WeekOfYear Function Syntax GetIso8601WeekOfYear() The parameters of the function are: | Name | Description | | --- | --- | | datetime | The Date-Time for which to return the week of year. | ### Examples The following expression returns the week of year for the current date-time: GetIso8601WeekOfYear Function Example GetIso8601WeekOfYear(DateTime.Today)