Dear Experts

May I request the formula for calculating number of days in a month mmm-yy excluding sundays please. I mean for March result is 26 i.e. 31 - 5 sundays