01-31-2014 04:13 PM
Hi SAS Forum,
I have two date values like below.
03312012 /*this means March 31, 2012*/
04302012 /*this means April 30, 2012*/
Q: I wanted to convert these two values to display like below.
I googled and found if the date is in format like this, i.e. 03312012, 04302012 etc., it is called MMDDYYN8.
So, I have used below approach for my intended conversion.
informat date MMDDYYN8.;
format date MMDDYY10.;
SAS complains like below …..
16 informat date MMDDYYN8.;
NOTE 485-185: Informat MMDDYYN was not found or could not be loaded.
Could anyone let me know what informat then should I specify to read dates in these date formats, i.e. 03312012, 04302012 ?
Need further help from the community? Please ask a new question.