The application has to determine how many occurrences of a given day of the week occurred in a given calendar month.
For example- How many Mondays (or any other specified day of the week) were there in February, 2016?
I can see how to get the answer by looping through all the days in the month in question, but is there a slicker way?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.