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
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.
What are the automatic variables for macro? : sas-macro
Give e an example of..
How is character variable converted into numeric variable and vice versa?
how to generate the test data in sas without input data? : Sas-administrator
What is data _null_?
How are numeric and character missing values represented internally?
what is data integration? : Sas-di
explain the function of substr in sas? : Sas-administrator
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
What are common programming errors committed in sas
What is the difference between the proc sql and data step?
What is the general format of function in sas? : sas-grid-administration
This entry was posted in General. Bookmark the permalink. Post a comment or leave
What are pdv and it functions?