BORROWER_DOB1 = datepart(BORROWER_DOB); format BORROWER_DOB1 yymmdd10.;
run;
You have to tell SAS it is a datetime value (in-close in quotes & add dt) then use datepart function to pull out the date. The correct format is yymmdd10.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.