how can i get the month difference between 2 parameters of DateTime type?
also - is it possible to know how many days are in a specific month? if yes, how?
thanks in advaned.
Printable View
how can i get the month difference between 2 parameters of DateTime type?
also - is it possible to know how many days are in a specific month? if yes, how?
thanks in advaned.
ok i just saw the dataDiff function...
but i still dont know the answer for the second question...
Code:Const Feb As Integer = 2
Dim daysInFebLeap As Integer = System.DateTime.DaysInMonth(1996, Feb)