- array_map: documentation ( source)
- print_r: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$array = array (
0 => '2014-06-01 12:45:02'
,1 => '2014-06-01 12:45:03'
,2 => '2014-06-01 12:48:52'
);
print_r(array_map(function($x){return date('Y-m-d', strtotime($x));}, $array));