Errors with using a timestamp in PHP
<p>I am receiving the error: A non well formed numeric value encountered</p>

<p>Here is my code:</p>

<pre><code>&lt;?php

$timestamp= '2013-01-20 18:20:20';

$datetime= date('F j, Y', $timestamp);

    echo $datetime;

?&gt;
</code></pre>

<p>This returns January 1, 1970 Which isn't right. What am I doing wrong?
BTW: All of my $timestamp variables will be in that format. I am using datetime in my MySQL database table.</p>

<p>Thanks</p>
