d_day=substr(X,7,2); /* get 06 *, 從第7個字, 取2個字*/ dd=mdy(input(d_month,12.),input(d_day,12.), input(d_year,12.)); * create SAS date dd;
確定! 回上一頁