I am receiving the error: A non well formed numeric value encountered
Here is my code:
<?php
$timestamp= '2013-01-20 18:20:20';
$datetime= date('F j, Y', $timestamp);
echo $datetime;
?>
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.
Thanks