How to convert a given date value into SAS date
Answer Posted / geoffrey brent
If you don't know in advance how the date will be
formatted, you can use the ANYDTDTE. informat. This will
extract a SAS date from most date/date-time formats.
(Warning: ANYDTDTE doesn't fully support day-month-year
ordering, even if you have this set as your system
preference, but it still copes with most DMY-formatted
dates.)
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Differentiate between format and informat? : sas-grid-administration
How does proc sql work?
In ARRAY processing, what does the DIM function do?
Intern stastical programmer written test
What is your favorite all time computer book? Why?
what type of graphs we will create(for 2+years candidates)?
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
what are the scrubbing procedures in sas? : Sas programming
what is sas olap server? : Sas-di
describe about physical data integration? : Sas-di
How long can a macro variable be? A token? : sas-macro
why is a stop statement needed for the point=option on a set statement? : Sas programming
how does sas handle missing values in sort order? : Sas programming
How you can read the variables that you need?
How do you define proc in sas? : sas-grid-administration