title: CodeIgniter: format mysql DATETIME field dd/mm/yy hh:mm
body: <p>Hi pretty much what it says on the tin.</p>
  
  <p>I have a datetime mysql field I want to output in the format dd/mm/yyyy hh:mm like 07/01/2011 22:16.</p>
  
  <p>I've tried:</p>
  
  <pre><code>&lt;?php 
    $datestring = '%d/%m/%Y %h:%i';  
    echo mdate($datestring,$row-&gt;created); 
  ?&gt;
  </code></pre>
  
  <p>But I'm getting an error:</p>
  
  <pre><code>Message: A non well formed numeric value encountered
  </code></pre>
  
  <p>Any help most appreciated!</p>
  
  <p>Cheers,</p>
  
  <p>Billy</p>