Find Number Of Days In A Month In VBScript
One interesting function I needed was to find the number of days in a particular month. Turns out this is more complicated than it sounds. I found an elegant solution online:
Dim numDays numDays = Day(DateAdd("d", -1, CDate((desiredMonth + 1) & "/01/" & Year(Date))))
You just go to the first...