|
-
Feb 7th, 2000, 04:32 PM
#1
Thread Starter
Junior Member
Hi ,
Is there any vb function or any logic To find out no of weeks in a month.I/p is Month name
Thankx
Murali
-
Feb 7th, 2000, 05:47 PM
#2
Frenzied Member
I haven't tested it but you could try this;
StartOfMonth="01/02/2000"
NoOfWeeks = Datediff("ww",StartOfMonth,DateAdd("m",1,StartOfMonth))
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
-
Feb 8th, 2000, 12:10 PM
#3
Thread Starter
Junior Member
Hi Buzby
Thanks it is working fine
Regards
Murali
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
|