12-30-2011 09:30 AM
if your string is not being read with input statements, then use the formula that Ksharp suggests above. However, when you are reading that string with an INPUT statement, immediately it can be converted to the date standard with informat ANYDTDTE.
Borrowing from Ksharp's demo above,
input date anydtdte7. ;
format date yymmn6.;
Need further help from the community? Please ask a new question.