I have to compare two datetime objects.
I have dt1= 08/02/2017 11:37:06
and dt2=08/02/2017 11:37:06 224
.
So for sure they do not work in the condition
if(dt1>=dt2) {}
and
if(DateTime.Equals(dt1, dt2)) { }
Both of them return false.
How to make them work ? I mean it should go inside the loop (avoiding the 224 part of datetime). I just have to take into account dd/mm/yyy hh:mm:ss
and eleminate other things