Hi there, I'm completely stuck on this as I haven't touched ASP in years now.
I'm basically trying to check if a date pulled from a database is "less than" todays date, unfortunately this doesn't work
<% if Date() > (Recordset1.Fields.Item("AvailabilityDate").Value) then
response.write(" Immediately ")
else
response.write(Recordset1.Fields.Item("AvailabilityDate").Value)
End if
%>
Any ideas?
TIA.
I'm basically trying to check if a date pulled from a database is "less than" todays date, unfortunately this doesn't work
<% if Date() > (Recordset1.Fields.Item("AvailabilityDate").Value) then
response.write(" Immediately ")
else
response.write(Recordset1.Fields.Item("AvailabilityDate").Value)
End if
%>
Any ideas?
TIA.