title: Formatting a Carbon date instance
body: <p>I have an array that returns the following date time:</p>
  
  <pre><code>$item['created_at'] =&gt; "2015-10-28 19:18:44"
  </code></pre>
  
  <p>How do I change the date to <code>M d Y</code> format in Laravel using Carbon?</p>
  
  <p>Currently it returns with an error</p>
  
  <pre><code>$suborder['payment_date'] = $item['created_at']-&gt;format('M d Y');
  </code></pre>