|
-
Aug 31st, 1999, 09:48 PM
#1
Thread Starter
New Member
Hi everyone,
Is there any function in VB to compare 2 dates for days, months, and year like the following example. Can someone help? Thanks
if myDay < today's date then
do something
end if
if myMonth < Current month then
do something
end if
if myYear < Current Year then
do something
end if
-
Sep 3rd, 1999, 01:18 PM
#2
Junior Member
here you go
If myDay > Day(date) Then ...
If myMonth < Month(Date) Then ...
If myYear > Year(Date) Then ...
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
|