Hi, I have one dataset like
id date ex: id date
1 13 1 13Oct2011
2 14 2 14Oct2011
3 15 3 15Oct2011 --->this is the current date
here i want date format like 13Oct2011,14Oct2011 how we can
modify the numeric to date format plz answer.
Answer Posted / ramesh
data inter3;
input id 1-2 dat ;
cards;
1 13
2 14
3 15
;
run;
data inter4;
set inter3;
format dat1 date9.;
dat1=dat;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is metadata? : Sas-bi
How do you add a number to a macro variable? : sas-macro
Tell me more about the parameters in macro? : sas-macro
Mention sas system options to debug sas macros.
how does sas handle missing values in formats? : Sas programming
How to create a permanent sas data set?
What are the default statistics that proc means produce?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
What are the functions used for character handling?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Are you involved in writing the inferential analysis plan? Tables specfications?
What is PDV?
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
How to sort in descending order?
How would you identify a macro variable? : sas-macro