title: Display Date dd/mm/yy in php with time from date/time
body: <p>I store the date and time in mysql as a date/time field which has this format:  2012-03-12 14:51:26, what i am trying to do is simply rearrange the DD/MM/YY to look like this.</p>
  
  <p>When i use the following code, it just gives me a date wrong format warning.</p>
  
  <pre><code>echo date_format($date, 'Y-m-d H:i:s');
  </code></pre>