2013-07-10 179 views

回答

4
$time = strtotime("2013-07-10T21:00:00.000"); 
return strftime("%Y-%m-%d %H:%M:%S", $time); 
1
$date = new \DateTime($time); 
$date->format('Y-m-d H:i:s'); 
1
$time = "2013-07-10T21:00:00.000"; 
echo date("Y-i-d H:m:s",strtotime($time));