title: How to change date format in laravel Query Builder from "2016-03-12" to "12-Mar-2016"
body: <p>How to change date-format in laravel from "2016-03-12" to "12-Mar-2016"</p>
  
  <pre><code>$results = DB::table('customers as cust')
          -&gt;where('cust.id',$id)
          -&gt;select("cust.*","cust.cust_dob as dob")
          -&gt;first();
  </code></pre>
  
  <p>Should I use laravel raw query.</p>
  
  <p>I tried this,</p>
  
  <pre><code> -&gt;select("cust.*","DATE_FORMAT(cust.cust_dob, '%d-%M-%Y') as formatted_dob")
  </code></pre>
  
  <p>Any guide on this please.</p>