Hi EVeryone,
I am trying to compare a DATE from a database that is DateTime format
------------------------------
dDate = FormatDateTime(day(rs("eventdate"
) & "/" & month(rs("eventdate"
) & "/" & year(rs("eventdate"
),2)
---------------------------------
comparing with a DATE like this
-------------------------------------
baseDate1 = FormatDateTime(date(),2)
--------------------------------
Then use an IF Statement like this it doesn't work?????
------------------------------------
if (dDate = baseDate1)then
WHY WHY??????????
I am trying to compare a DATE from a database that is DateTime format
------------------------------
dDate = FormatDateTime(day(rs("eventdate"
---------------------------------
comparing with a DATE like this
-------------------------------------
baseDate1 = FormatDateTime(date(),2)
--------------------------------
Then use an IF Statement like this it doesn't work?????
------------------------------------
if (dDate = baseDate1)then
WHY WHY??????????