How to compare only Date without Time in DateTime types? June 16, 2023 by Tarik try using the Date property on the DateTime Object… if(dtOne.Date == dtTwo.Date) ....