php reverse date function
<p>I wondered if anybody knew of a way to reverse the date function in php.
For example.. if I want to printed the day / month / year / time I would do:</p>

<pre><code>date("d jS M, Y", strtotime("2012-01-01 12:12:12"));
</code></pre>

<p>If I had Sat 1st January, 2012 12.12pm - is there a way to reverse this to output "2012-01-01 12:12:12".</p>

<p>Thanks in advance.</p>
