Problem of comparing datetime with date fixed.