Gets an instance of DateTime representing the date of New Year's Day (1st of January).
public static DateTime GetNewYearsDay(int year)
year
The year.
An instance of DateTime representing the date of New Year's Day.