can't compare date and datetime