GetFirstDayOfIso8601WeekOfYear
  • 04 May 2024
  • 1 Minute to read
  • Dark
    Light

GetFirstDayOfIso8601WeekOfYear

  • Dark
    Light

Article summary

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 Function Syntax

GetFirstDayOfIso8601WeekOfYear(<year>, <weekofyear>)

The parameters of the function are:

Name

Description
yearThe year to which the week of year belongs.
weekofyearThe 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 Function Example

GetFirstDayOfIso8601WeekOfYear(2021, 37)


Was this article helpful?