title: Read Date Format in PHP EXCEL
body: <p>I have read excel file using PHP excel .</p>
  
  <p>But that excel file contain some date (time format) PHP excel return wrong values for that case </p>
  
  <p>My code is in below</p>
  
  <pre><code>enter code hereinclude 'Classes/PHPExcel/IOFactory.php';
  
  $inputFileName = 'index.xlsx';
  
  //  Read your Excel workbook
  try {
      $inputFileType = PHPExcel_IOFactory::identify($inputFileName);
      $objReader = PHPExcel_IOFactory::createReader($inputFileType);
      $objPHPExcel = $objReader-&gt;load($inputFileName);
  } catch (Exception $e) {
      die('Error loading file "' . pathinfo($inputFileName, PATHINFO_BASENAME)
          . '": ' . $e-&gt;getMessage());
  }
  
  //  Get worksheet dimensions
  $sheet = $objPHPExcel-&gt;getSheet(0);
  $highestRow = $sheet-&gt;getHighestRow();
  $highestColumn = $sheet-&gt;getHighestColumn();
  
  //  Loop through each row of the worksheet in turn
  for ($row = 1; $row &lt;= $highestRow; $row++) {
      //  Read a row of data into an array
      $rowData = $sheet-&gt;rangeToArray('A' . $row . ':' . $highestColumn . $row,
          NULL, TRUE, FALSE);
  
      foreach ($rowData[0] as $k =&gt; $v)
          echo "Row: " . $row . "- Col: " . ($k + 1) . " = " . $v . "&lt;br /&gt;";
  }
  </code></pre>
  
  <p>any one can help for this..
  Have some specific function for this case in PHPExcel..</p>
  
  <p>My input excel file  is in below</p>
  
  <p>2013-12-12,
  2013-12-13</p>
  
  <p>My output is in below</p>
  
  <p>41621,
  41631</p>
  
  <p>Have some method to covert date format output data?</p>