Think of dates as having time stamps. Do if you just put a Day, Month, Year, there is still a time element in there, like Midnight. So anything done in the day, like 4PM, happens before Midnight. That is why. If you want to compare at the day level, you need to convert both sides to just the Day, Month, Year and take out the time portion.