invert date compare logic