Hi,
I am using ASP and SQL Server 2000.
I need to compare 2 dates that are beeing pulled from the database. In the database, they are of datatype datetime.
Currently, I am using the syntax of:
if date1 <> date2 then
some interesting stuff here
end if
but this seems to be very temperamental.
If anyone has any other ideas of how I can make this work, it would be much appreciated!
Thanks in advance.
I am using ASP and SQL Server 2000.
I need to compare 2 dates that are beeing pulled from the database. In the database, they are of datatype datetime.
Currently, I am using the syntax of:
if date1 <> date2 then
some interesting stuff here
end if
but this seems to be very temperamental.
If anyone has any other ideas of how I can make this work, it would be much appreciated!
Thanks in advance.