Number of days in a month

liunx

Guest
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
 
Back
Top