PHP Excel日期问题

I am not new to PHP, but new to PHPExcel, using it for the first time. So I preferred to just dump data from excel sheet into an array

$importData = $objImport->getActiveSheet()->toArray(null,true,true,true);

But the problem with this is that date values are returned in format mm-dd-yy, so, year 2013 and 1913 are both returned as '13' in yy form. I would like to receive it in yyyy form.

try this

$fDate = $importData[1][C];
$fDate='10-29-14';
$fDate=  explode('-', $fDate);
$fDate=$fDate[1].'-'.$fDate[0].'-'.str_pad('14', 4, '20',STR_PAD_LEFT);
echo $fDate;// 29-10-2014