CalendarHelper.GetGroundhogDay method

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

GetGroundhogDay(int)

Static

Gets an instance of DateTime representing Groundhog Day (2nd of February).

public static DateTime GetGroundhogDay(int year)

Parameters

year int

The year.

Returns

An instance of DateTime representing the date of Groundhog Day.