title: How to change date formate , while importing excel in database php myadmin in codeigniter..?
body: <p>I want to change date format while importing excel records in a database like if my excel date format is "03/06/2019" then, I want to change it to "2019-06-03".</p>
  
  <pre><code>date('Y-m-d', PHPExcel_Shared_Date::ExcelToPHP($transactiondate))
  </code></pre>
  
  <p>I got my date in <code>$transactiondate</code> variable.</p>
  
  <p>This is My Excel formate date.
  <a href="https://i.stack.imgur.com/6KQxw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6KQxw.png" alt="enter image description here"></a></p>
  
  <p>This is My Out put after date post in codeigniter controller.
  <a href="https://i.stack.imgur.com/vphhA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vphhA.png" alt="enter image description here"></a></p>