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 could you generate test data with no input data? : Sas programming
Which command is used to perform sorting in sas program?
What is your favorite all time computer book? Why?
Difference between informat and format?
Mention what is PROC in SAS?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
Describe the ways in which you can create macro variables? : sas-macro
Give some ways by which you can define the variables to produce the summary report (using proc report)?
What are the default statistics that proc means produce?
what does the run statement do? : Sas programming
Explain the difference between using drop = data set option in set and data statement?
Enlist the functions performed by sas.
What’s the difference between var b1 – b3 and var b1 — b3?
How to read an input file in sas?
explain about data integrator metadata reports? : Sas-di