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
How do you delete duplicate observations in sas?
what is transformation in sas data integration? : Sas-di
What is the difference between using drop = data set option in data statement and set statement?
Enlist the syntax rules followed in sas statements.
What are the uses of sas?
what is metadata? : Sas-bi
Describe what are the different levels of administrative users in sas? : sas-grid-administration
Define run-group processing?
Mention sas system options to debug sas macros.
What is maximum storage capability of SAS?
Name some categories in sas 9? : sas-grid-administration
Describe 5 ways to do a “table lookup” in SAS?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
In ARRAY processing, what does the DIM function do?
What is the use of PROC gplot?