By default C# compares DateTime objects to the 100ns tick. However, my database returns DateTime values to the nearest millisecond. What\'s the best way to compare two DateT
I usally use the TimeSpan.FromXXX methods to do something like this:
if((myDate - myOtherDate) > TimeSpan.FromSeconds(10)) { //Do something here }