ISOWeek.GetYearStart(Int32) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Calculates the Gregorian date at which the week-numbering year will start.

C#
public static DateTime GetYearStart(int year);

Parameters

year
Int32

An ISO week-numbering year (also called an ISO year informally).

Returns

The Gregorian date at which the week-numbering year will start.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1