title: how to get date from excel using PHPExcel library
body: <p>I am trying to get Date from excel using PHPExcel. But I am not getting date, I am getting string value which is not seconds from 1970 .</p>
  
  <p>Code I have tried is </p>
  
  <pre><code>$InvDate=trim($excel-&gt;getActiveSheet()-&gt;getCell('B' . $i)-&gt;getValue());
  </code></pre>