|
-
Feb 15th, 2000, 12:34 PM
#1
Thread Starter
Lively Member
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
-
Feb 15th, 2000, 05:26 PM
#2
Frenzied Member
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]
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
|