How to convert a given date value into SAS date
Answer Posted / sheetal
data temp;
date='17/12/2009';
m=substr(date,4,2);
d=substr(date,1,2);
y=substr(date,7,4);
d1=mdy(m,d,y);
format d1 mmddyy10.;
run;
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
AE datasets names? how many types?
Tell me about % include and % eval? : sas-macro
where are dashboard components are created and maintained? : Sas-bi
What are symget and symput? : sas-macro
For what purpose would you use the RETAIN statement?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
for whom is sas data integration studio designed? : Sas-di
What is the order of application for output data set options, input data set options and SAS statements?
What is the maximum and minimum length of macro variable
In ARRAY processing, what does the DIM function do?
Give e an example of..
What is by-group processing?
describe how to adjust the performance of data integrator? : Sas-di
how the sas basic syntax style described? : Sas-administrator