make sure the date is in the past