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


Please Help Members By Posting Answers For Below Questions

Describe the ways in which you can create a macro variable?

622


what is the function of catx syntax? : Sas-administrator

649


how many types of prompts are there? : Sas-bi

552


How do you convert basic cube to transaction cube and transaction cube to basic cube?

1772


what is broad cast agent? : Sas-bi

593






what is change analysis in sas di ? : Sas-di

606


what is ae onset date n what is RDS

1935


What are the prime responsibilities of data integration administrator? : Sas-di

586


Explain proc univariate?

606


how are numeric and character missing values represented internally? : Sas programming

619


What is the difference between %local and %global? : sas-macro

668


What is the purpose of trailing @ and @@? How do you use them?

611


Differences between where and if statement?

582


what is data access? : Sas-di

606


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

728