|
-
May 13th, 2006, 02:30 PM
#1
calculate month in dateTime
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.
-
May 13th, 2006, 03:14 PM
#2
Re: calculate month in dateTime
ok i just saw the dataDiff function...
but i still dont know the answer for the second question...
-
May 14th, 2006, 12:35 PM
#3
Re: calculate month in dateTime
Code:
Const Feb As Integer = 2
Dim daysInFebLeap As Integer = System.DateTime.DaysInMonth(1996, Feb)
Last edited by Relentless; May 14th, 2006 at 01:57 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|