number of weeks in a month
does anybody know the algorithm for calculating the actual number of weeks in a month. It's always between 4 and 6. But my maths centre of my brain has seized up entirely.
E.g. April 2012 has 6 weeks, as does November 2009. 31 January 2007 has 5 weeks. The first day is a sunday and the last day is a monday.
Started By frumbert on Jan 30, 2007 at 5:34:17 PM |