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
What are the scrubbing procedures in sas?
What is the work of tranwrd function?
what has been your most common programming mistake? : Sas programming
Explain what is the use of proc gplot?
how to read the variables in sas? : Sas-administrator
What do the mod and int function do? : Sas programming
What is the use of divide function?
For what purposes have you used sas macros? : sas-macro
What do the put and input function do?
what is function of retain statment
Explain the difference between using drop = data set option in set and data statement?
What’s the difference between var b1 – b3 and var b1 — b3?
what is the use of sas management console? : Sas-di
where are dashboard components are created and maintained? : Sas-bi
What are the new features included in the new version of SAS Programming Language?