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 do you mean by data staging area? : Sas-di
How you can read the variables that you need?
Mention what is SAS data set?
How do you add a number to a macro variable? : sas-macro
What are the advantages of using sas?
What is the use of function Proc summary?
what are the benefits of data integration? : Sas-di
What is the function of output statement in a SAS Program?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
How do you connect the desktop application to metadata server? : sas-grid-administration
it will become easy if uuu provide website linkssss and list of consultanciessssss
what is the difference between unique key and primary key? : Sas-di
Compare sas with other data analytics tools.
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
How would you determine the number of missing or nonmissing values in computations?