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
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
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 default statistics for means procedure?
Which are the statements whose placement in the data step is critical?
How will you generate test data with no input data?
Give an example where SAS fails to convert character value to numeric value automatically?
what are some good sas programming practices for processing very large data sets? : Sas programming
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
Differences between where and if statement?
what is data integration? : Sas-di
what is ae onset date n what is RDS
explain the difference between proc means and proc summary?
Mention what is SAS data set?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?