throw exception if submitDate is not a date object