fixed DateTime in conditions