time format

date('Y-m-d',strtotime($key['don_time']))