Does anyone have a good algorithm to calculate what date Good Friday falls on given the year as an input? Preferably in C#.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a great article that should help you build your algorithm
http://www.codeproject.com/KB/datetime/christianholidays.aspx
Based on this example, you should be able to write:
Full Example: