data work._first;
set work._info(keep=id create_time type period );
format create_date yyddmm10.;
create_date=datepart(create_time);
by id type create_time;
run;
为什么我的create_date一列是数字格式而非日期格式呢?比如最后结果:
id type period create_time create_date
17 2001 6.0 22MAY2015:12:22:38 20230
请教大神这是什么原因呢?