|
Use the input modifier:
data _null_ ;
input dateval $8. ;
newdate = input(dateval,mmddyy8.) ;
put newdate date. ;
datalines;
08-03-98
08-04-97
;
run;
Thanks,
Alan
Savian
"Bridging SAS and Microsoft Technologies"
?
nntp://news.qwest.net/comp.soft-sys.sas/
Hi,
My source data looks like mm-dd-yy(e.g.,06-30-98) and is character
variable. How can I change it to numeric mm/dd/yy format?
Thank you!
:)
[comp.soft-sys.sas]
|