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
Describe the ways in which you can create a macro variable?
what is the function of catx syntax? : Sas-administrator
how many types of prompts are there? : Sas-bi
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what is broad cast agent? : Sas-bi
what is change analysis in sas di ? : Sas-di
what is ae onset date n what is RDS
What are the prime responsibilities of data integration administrator? : Sas-di
Explain proc univariate?
how are numeric and character missing values represented internally? : Sas programming
What is the difference between %local and %global? : sas-macro
What is the purpose of trailing @ and @@? How do you use them?
Differences between where and if statement?
what is data access? : Sas-di
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming