date('Y-m-d',strtotime($rs['dtime']))
insert into 表2(date) select substring(Date,length(Date)-9) as date from 表1