I have two dates say 01/02/2006 and 02/02/2006. I have to determine programatically, which one is a later date. How to do this? I am coding in c# with SQL Server 2000 as the backend.
Thanks
Printable View
I have two dates say 01/02/2006 and 02/02/2006. I have to determine programatically, which one is a later date. How to do this? I am coding in c# with SQL Server 2000 as the backend.
Thanks
Are you talking about comparing using SQL code or in C# code? Either way you can just use the standard comparison operators ">" and "<".
Thanks a bunch
I bet you got a rep for that as well. :D