Marking date, unmarks it first, then marks it.