Dates comparison

Smee

Well-Known Member
Licensed User
Longtime User
Hi,

How do i compare 2 dates? for example what would be the correct syntax for code such as

If (Date(Now))="29-11-2009" Then
..........
..........
End If


Thanks all
 

Smee

Well-Known Member
Licensed User
Longtime User
:sign0161:
Thank you,

what about checking if a date is later than another for example

If Date(Now) > "11/29/2009" Then

end if

thanks very much
 

Smee

Well-Known Member
Licensed User
Longtime User
Thanks guys,

As usual very prompt help.

Thanks again
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…