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 can be the size of largest dataset in SAS?
Can you execute a macro within a macro? Describe. : sas-macro
What is the general format of function in sas? : sas-grid-administration
What Proc glm does?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
What are pdv and it functions?
what is sas database server? : Sas-di
How do you convert basic cube to transaction cube and transaction cube to basic cube?
What is the basic structure of the SAS base program?
How to limit decimal places for variable using proc means?
How substr function works in sas?
What are the data types does SAS contain?
How to create list output for cross-tabulations in proc freq?
Mention some common errors that are usually committed in sas programming.
How to convert a numeric variable to a character variable?