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


Please Help Members By Posting Answers For Below Questions

Give e an example of..

2098


how the sas basic syntax style described? : Sas-administrator

790


what is SAS OPTIMIZATION?

2029


explain the function of substr in sas? : Sas-administrator

765


How are numeric and character missing values represented internally?

1374


what is null hypothesis? why do you consider that?

2625


Explain the purpose of substr functions in sas programming.

785


What does the RUN statement do?

1061


Tell me more about the parameters in macro? : sas-macro

804


What are the applications primarily used by business analyst? : Sas-bi

751


what is the difference between infile and input? : Sas-administrator

837


How do you debug and test your SAS programs?

1258


explain the difference between proc means and proc summary?

866


How many data types are there in SAS?

808


What can be the size of largest dataset in SAS?

933