I am trying to update a column as a date with yymmdd10 formatting, but am running into an issue and I am unclear on what is going wrong. Why, in the following code, do variables c and d end up in the correct type and format, but variable a does not? data test1; a = '2016-09-01'; a = input(a,yymmdd10.); b = '2016-09-01'; c = input(b,yymmdd10.); d = input('2016-09-01',yymmdd10.); format a b c d yymmdd10.; run;
... View more