CalendarUtils.GetNewYearsDay method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

GetNewYearsDay(int)

Static

Gets an instance of DateTime representing the date of New Year's Day (1st of January).

public static DateTime GetNewYearsDay(int year)

Parameters

year int

The year.

Returns

An instance of DateTime representing the date of New Year's Day.