How to get sas date format “YYYYMM” in SAS ?
From this code below I would get ‘2011-11-01’
call symput('me',"'"||put(intnx('month',today(),-1 ),yymmdd10.)||"'");
I’m trying to get something like : ‘2011-11’
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Macro version: