Modify date compare