I have an application that registers when people are sick and sends a notification to a manager at a certain number of workdays after this event.
I can use the properties of DateTime to skip weekends but how do I skip holidays?
I've read somewhere that church holidays are calculated from easter. But how? And how do I find easter in the first place?
Maybe a little too late but you can use my library Nager.Date. With my library you can calculate holidays for over 100 different countries. There is also a nuget package available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With