Hi!
I am trying to read an infile (semicolon separated file) with a time variable in the format hh:mm and I am only able to read it as a char variable.
Is it possible to tell SAS in the infile reading that this is a time variable and convert it to SAS format directly?
I tried to convert it after the variable list:
SASdate=input(VARNAME,hhmm.);
but it didn't work (as it is a char variable, I guess...).
Thankful for any help on this basic question! (Sorry for asking, I have tried to look it up on the online help but couldn't find anything helpful.)
/Helen
... View more