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
Explain proc sort?
What is the difference between order and group variable in proc report?
How can you create a macro variable with in data step? : sas-macro
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What is PROC in SAS?
What is the difference between nodupkey and nodup options?
Mention what is PROC in SAS?
what is treatment emergent events and treatment emregent adverse event
what is business intelligence? : Sas-bi
What is a pdv and what are its functions?
How would you determine the number of missing or nonmissing values in computations?
What does proc print, and proc contents are used for?
Differentiate between proc means and proc summary.
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
what are _numeric_ and _character_ and what do they do? : Sas programming