DateTime Comparison Precision

Posted by mnh on Stack Overflow See other posts from Stack Overflow or by mnh
Published on 2010-06-02T10:22:32Z Indexed on 2010/06/02 10:33 UTC
Read the original article Hit count: 277

Filed under:
|
|

I'm doing DateTime comparison but I don't want to do comparison at second, millisecond and ticks level. What's the most elegant way?

If I simply compare the DateTime, then they are seldom equal due to ticks differences.

© Stack Overflow or respective owner

Related posts about c#

Related posts about datetime