Hi,
I want to convert the date value in the 'd' variable in the sas dataset 'final' such as 10/21/2012 to a sas date value and create a new variable 'd1' for it. The 'd' variable is numeric. I used the code below and it did convert the mmddyy10. formatted values to a sas value but only for the year 2012. Dates with values in the 2011 year such as 10/12/2011 were not converted. I am not able to understand this. In addition I also got the 'note' stated below in the log. Please advice. I need to find the most recent date value and coverting into sas date values will make ti easier.
Thanks,
dr
data temp (keep= d d1); 17 set final; 18 d1=input(d,anydtdte15.); 19 run; NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column). 18:13
... View more