GetIso8601WeekOfYear
  • 16 Apr 2024
  • 1 Minute to read
  • Dark
    Light

GetIso8601WeekOfYear

  • Dark
    Light

Article summary

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(<datetime>)

The parameters of the function are:

Name

Description
datetimeThe 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)


Was this article helpful?