Dates prior to Dec 31, 1969

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using the following code to display dates returned from a query of a
mySQL database.

$new_timestamp = strtotime($row_SearchPlayerRcrdSt['Date']);
$new_date_formatted = date ("m/d/y", $new_timestamp);
echo $new_date_formatted;

It appears that all dates prior to Dec 31, 1969 are displayed as 12/31/69.

What am I doing wrong?

Thanks,
Frank

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux