05-14-2013 09:52 AM
Suppose if its the sas dataset where on one variable you wanted to apply this format then you can use Proc dataset procedure with modify statement.
05-14-2013 10:43 AM
Make a format.
proc format; picture x low-high='%0m/%0d/%Y'(datatype=datetime) ; run; data want; input date datetime20.; x=date; format date datetime20. x x10.; cards; 28MAY1927:00:00:00 ; run;
05-14-2013 05:58 PM
I have read the picture format after you have posted the solution and did not clearly understand it..
x x10.; means u are applying a format named x10. on the variable x
what is the meaning of '%0m/%0d/%Y' ?????
why did you put x x10. ???? just x x. would not be enough???