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
Give e an example of..
how the sas basic syntax style described? : Sas-administrator
what is SAS OPTIMIZATION?
explain the function of substr in sas? : Sas-administrator
How are numeric and character missing values represented internally?
what is null hypothesis? why do you consider that?
Explain the purpose of substr functions in sas programming.
What does the RUN statement do?
Tell me more about the parameters in macro? : sas-macro
What are the applications primarily used by business analyst? : Sas-bi
what is the difference between infile and input? : Sas-administrator
How do you debug and test your SAS programs?
explain the difference between proc means and proc summary?
How many data types are there in SAS?
What can be the size of largest dataset in SAS?