The ANYDTDTE function comes in handy here as well as situations with other
character date variables:
format _date mmddyy10.; * assign date format of your choice;
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
08/19/2008 01:26 AM
Please respond to
how to convert char variables into a date format?
I have a char9 variable which actually holds dates like, 09-Apr-07.
I get an error, The informat $DATE was not found or could not be
loaded. when I try using,
data want; set have;
informat date DATE7. ;
Could anybody please tell me what is going wrong and how could I
change the informat of the char type variable to a date informat?