title: Php date format change from variable
body: <p>I get php output function from another function and it always returns date in this-like format:</p>
  
  <pre><code>2012-05-24 09:05:20
  </code></pre>
  
  <p>So my question is how can i get from variable $p_re["last_login"] format I need? I need to have it like </p>
  
  <pre><code>24.5.2012 09:05:20
  </code></pre>
  
  <p>Thank you all I did not find it in any section there are some - changing right from database but i need to "rewrite" format from already output variable. Thank you.</p>