I am new to MACRO
Here's what I wrote to create
d1 as last month this year
d2 as last month last year
data _test_ ;
d1 = put(mdy(month(today())-1,1,year(today())-1),yymmdd10.);
call symput('d1',"'"||put(d1,9.)||" 23:59:59'") ;
d2 = put(mdy(month(today())-1,1,year(today())),yymmdd10.);
call symput('d2',"'"||put(d2,9.)||" 23:59:59'") ;
run ;
%put d1;
I successfully get the value : however when I look into my _test_ table it doesn't give me value that include " 23:59:59"
as well as when I was trying to use %put statment to show me value of d1 ,
What am I missing here ?
Thank you !