finding holydays asp.net code example
Example 1: finding holydays asp.net
var publicHolidays = DateSystem.GetPublicHoliday(2018, CountryCode.DE);
Example 2: finding holydays asp.net
var date = new DateTime(2018, 01, 01);
if (DateSystem.IsPublicHoliday(date, CountryCode.DE))
{
//Yes - New Year's Day
}
Example 3: finding holydays asp.net
PM> install-package Nager.Date