о чем разговор?
list($year,$month,$day,$hour,$min,$sec)=array(substr($task['time'],0,4), substr($task['time'],4,2), substr($task['time'],6,2), substr($task['time'],8,2), substr($task['time'],10,2), substr($task['time'],12,2));
echo($day.".".$month.".".$year." ".$hour."-".$min."-".$sec);
и все удобочитаемо