$str = array('2000年10月10日','2001年11月11日');


 $pattern = array('/年/', '/月/', '/日/');


 $replacement = array('-', '-' ,' ');


 $time = preg_replace($pattern,$replacement,$str) ;


 print_r($time);exit;

 

打印结果 Array ( [0] => 2000-10-10 [1] => 2001-11-11 )