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

what is sas and what are the functions? : Sas-administrator

543


name some data transformation used in sas di? : Sas-di

547


What is the order of application for output data set options, input data set options and SAS statements?

1086


what is null hypothesis? why do you consider that?

2422


Mention the category in which sas informats are placed?

630






Tell e how how dealt with..

1775


what is the difference between infile and input? : Sas-administrator

611


What is the difference between input and infile statement?

684


what is enterprise guide? What is the use of it? : Sas programming

540


What’s the difference between var b1 – b3 and var b1 — b3?

834


How to convert a numeric variable to a character variable?

634


What is maximum storage capability of SAS?

908


what is snowflake schema? : Sas-di

698


what is intially documentation in sas?

4335


What are the features of base sas system?

615