i'm trying to create a calendar program like the windows date/time in the sys tray, any ideas would be helpful!!
the first problem i have is i can't get the total days in a month, any ideas on hoow to do this??
thanx
Printable View
i'm trying to create a calendar program like the windows date/time in the sys tray, any ideas would be helpful!!
the first problem i have is i can't get the total days in a month, any ideas on hoow to do this??
thanx
Dim StartDate As Date
Dim DaysInMonth As Integer
StartDate=cdate("01/06/2000")
DaysInMonth=DateDiff("d",StartDate,DateAdd("m",1,StartDate))
That should do it. It'll find the days in June 2000.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]