Dates prior to Dec 31, 1969
| From: | Frank Marousek | Date: | Tue, 14 Dec 2004 21:39:52 +0000 |
| Subject: | Dates prior to Dec 31, 1969 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37684@lists.php.net to get a copy of this message | ||
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