--- title: "GetIso8601WeekOfYear" slug: "getiso8601weekofyear" updated: 2024-05-04T19:41:03Z published: 2024-05-04T19:41:03Z 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](/release34/docs/number) that contains the week of year according to ISO 8601 for a given [Date-Time](/release34/docs/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](/release34/docs/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)