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 study design in while working with SAS? what are screening variables in SAS?
for what purpose would you use the retain statement? : Sas programming
What is run-group processing?
What are the automatic variables for macro? : sas-macro
how does sas handle missing values in functions? : Sas programming
I have a dataset concat having variable a b & c. How to rename a b to e & f?
how the sas basic syntax style described? : Sas-administrator
What is the order of application for output data set options, input data set options and SAS statements?
Can you execute a macro within a macro? Describe. : sas-macro
What versions of SAS have you used (on which platforms)?
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
what do the pad and dim functions do? : Sas programming
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
What are the prime responsibilities of data integration administrator? : Sas-di
How would you identify a macro variable?