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
Explain proc univariate?
What is the sas data set? : sas-grid-administration
Explain why double trailing @@ is used in input statement?
What are the different operating system platforms in which we can use sas? : sas-grid-administration
Mention sas system options to debug sas macros.
explain the key concept of sas? : Sas-administrator
What would be the value of month at the end of data step execution and how many observations would be there?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
what are the categories that sas informats are used to the place the data? : Sas-administrator
What was the last computer book you purchased? Why?
Have you used macros? For what purpose you have used? : sas-macro
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
What would you change about your job?