I'm really struggling to make one date variable from three separate variables. For instance, I have "BirthYear", "BirthMonth", "BirthDay" as three separate variables, and I need to make them into one "BirthDate" variable. I'm really lost at how to even start this or what to try. Thank you!
wanted_date=mdy(birthmonth,birthday,birthyear);
format wanted_date yymmdd10.;
-- Paige Miller
Register Today!
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.