Date error check…just in case