Wednesday 23 July 2008

DaysInMonth - get the number of days in a month

' get number of days in current month
Dim days As Integer = Date.DaysInMonth(Now.Year, Now.Month)
Me.lblDays.Text = days

No comments: