How to compare only Date without Time in DateTime types?

try using the Date property on the DateTime Object…

if(dtOne.Date == dtTwo.Date)
    ....

Leave a Comment