Convert to sas date format

Reply
N/A
Posts: 0

Convert to sas date format

1. I have date format YYYYMMDD
d1 = 20080416
How can I convert it to sas date format such as 16April2008 ?

2 .PROC IMPORT OUT= WORK.mydata
DATAFILE= "D:\SAS_data\RawData\test.xls"
DBMS=EXCEL2000 REPLACE;
SHEET="test$";
GETNAMES=YES;
RUN;
proc import above, Can I define format of variables in this part ?
Post a Question
Discussion Stats
  • 0 replies
  • 178 views
  • 0 likes
  • 1 in conversation