L liunx Guest Jan 11, 2008 #1 If I get the month, say this month is july, which is 7. How would I get the total number of days for any given month?try this Dim DaysInMonth as integer DaysInMonth = cint(DateDiff("D", Month, DateAdd("M", 1, Month)))thanks cuz, works great
If I get the month, say this month is july, which is 7. How would I get the total number of days for any given month?try this Dim DaysInMonth as integer DaysInMonth = cint(DateDiff("D", Month, DateAdd("M", 1, Month)))thanks cuz, works great