title: Simple XLSX Parser: Date output
body: <p><B>Hey,</b></p>
  
  <p><strong>my question is based on that Topic:<br>
  <a href="https://stackoverflow.com/questions/10242879/read-excel-xlsx-file-using-simplexlsx-in-php/22914185#22914185">Read excel xlsx file using simplexlsx in php</a></strong></p>
  
  <p>is there a possibility to catch that Date Format problem within the simplexlsx.class?</p>
  
  <p>cause im using this script for a dynamic xlsx to database script and i hardly can say where i use the Date format or better wich cell has a date format.</p>
  
  <p>So how can i use the unixstamp($excelDateTime) for unknown column within a while or for loop?</p>
  
  <pre><code>function value( $cell ) {
          // Determine data type
          $dataType = (string) $cell['t'];
              switch ($dataType) {
  </code></pre>
  
  <p>thats the start of the value class... is it possible to add an switch case for datatype "Date"? if yes how?</p>
  
  <p>example:</p>
  
  <p>i got 3 Tables:<br>
  1: ID, col1, col2, col3<br>
  2: ID, col1, date, col3<br>
  3: ID, col1, col2, date</p>
  
  <p>I have an &lt; SELECT > to choose wich one is needed, but ill pass over the type of column, i want to display one of them with the correct Date not the "41928" UNIX-DATE?</p>
  
  <p>Thx so far <BR>
  regards</p>