How to convert a given date value into SAS date
Answer Posted / vipin choudhary
We can read the date value with the help of date informats.
Say we have the date 09/13/2008.
Now if we want SAS to read this date, we will use the date
informat in the input statement like
"input date mmddyy10."
SAS will store this date in the numerical form as the
number of days passed from 1st january, 1960.
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What is the order of application for output data set options, input data set options and SAS statements?
what is broad cast agent? : Sas-bi
Do you know the features of sas?
what is hierarchy flattening? : Sas-di
What is the maximum and minimum length of macro variable
What do you code to create a macro? : sas-macro
how does sas handle missing values in a merge? : Sas programming
What are the advantages of using sas?
What is the role of administrative users? : sas-grid-administration
What are the different versions of sas that you have used until now? : sas-grid-administration
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
Name and describe few sas character functions that are used for data cleaning in brief.
what is the difference between floor and ceil functions in sas? : Sas-administrator
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
Describe the ways in which you can create macro variables?