php/python date conversion
<p>Guys, I have a python script which builds up a MySQL table with timestamps that look like: </p>

<pre><code>2011-04-18 09:54:45
</code></pre>

<p>To interface with this MySQL table, I need a php script to match updates.  If I run this in PHP:</p>

<pre><code>$todaysdate = date(DATE_RFC822);
print $todaysdate;
</code></pre>

<p>returns:</p>

<pre><code>Mon, 18 Apr 11 09:57:57 -0400
</code></pre>

<p>How do I get php to return  2011-04-18 09:54:45 style result? instead of a RFC822?</p>

<p>Thanks!</p>
