I IanT Registered User. Local time Today, 22:04 Joined Nov 30, 2001 Messages 191 Jan 22, 2007 #1 Hi Is there a way of calculating the number of weeks in a month!
RuralGuy AWF VIP Local time Today, 15:04 Joined Jul 2, 2005 Messages 13,819 Jan 22, 2007 #2 Probably if you can tell us what your definition of a "week" is. Last edited: Jan 22, 2007
Dennisk AWF VIP Local time Today, 22:04 Joined Jul 22, 2004 Messages 1,649 Jan 22, 2007 #3 why not use integer division eg int(NoOfDaysInMonth/7) if there are 30 days then the result is 4
Brianwarnock Retired Local time Today, 22:04 Joined Jun 2, 2003 Messages 12,667 Jan 22, 2007 #4 Dennisk said: why not use integer division eg int(NoOfDaysInMonth/7) if there are 30 days then the result is 4 Click to expand... When is there less than or more than 4 whole weeks in a month As RuralGuy asked what are you really after? Brian
Dennisk said: why not use integer division eg int(NoOfDaysInMonth/7) if there are 30 days then the result is 4 Click to expand... When is there less than or more than 4 whole weeks in a month As RuralGuy asked what are you really after? Brian
ColinEssex Old registered user Local time Today, 22:04 Joined Feb 22, 2002 Messages 9,314 Jan 22, 2007 #5 Do you need the week number? Col