Function to get the days of the Month ,given the Month and Year
Function to get the days of the Month ,given the Month and Year
API Declarations
Rate Function to get the days of the Month ,given the Month and Year
(1(1 Vote))
NoOfDays = GetNoOfDays(strMonth,strYear)
'*** Function to get the no of days
Public Function GetNoOfDays(ByVal strMonth as String, _
ByVal strYear as String)
GetNoOfDays = DatePart("d",DateSerial(CInt(strYear),CInt(strMonth) + 1, 1) - 1)
End Function
Function to get the days of the Month ,given the Month and Year Comments
No comments yet — be the first to post one!
Post a Comment