- 13 Dec 2023
- 1 Minute to read
- DarkLight
GetFirstDayOfIso8601WeekOfYear
- Updated on 13 Dec 2023
- 1 Minute to read
- DarkLight
General
This function returns a Date-Time that represents the first day of a given week of year according to ISO 8601.
Syntax
You can call the GetFirstDayOfIso8601WeekOfYear function using the following syntax:
GetFirstDayOfIso8601WeekOfYear(<year>, <weekofyear>)
The parameters of the function are:
Name | Description |
---|---|
year | The year to which the week of year belongs. |
weekofyear | The week of year for which to return the first day. |
Examples | |
The following expression returns a Date-Time that contains the first day of the week of year 37 of 2021: |
GetFirstDayOfIso8601WeekOfYear(2021, 37)