Art, Thank you for your help. I looked at the last bit of code you posted. It all looks fine except for 2009 converts to 09/01/1920. I changed the code around a bit data have; informat sdate $10.; input sdate ; cards; Jun-07 Nov-08 14-Jun-07 12-Nov-08 2009 2000 11/01/2009 ; run; data want; set have; format newdate mmddyy10.; if length(sdate) = 4 then newdate=mdy(1,1,input(sdate,4.)); else if input(sdate, ? anydtdte21.) then newdate=input(sdate, ? anydtdte21.); else if find(sdate,'-') then newdate=input(catx('-','1',sdate),date9.); else if find(sdate,'/') then newdate=input(sdate,mmddyy10.); run; Thanks again for all your help. Jerry
... View more