I am returning a date from my DB and using this to display it:
while($rs = mysql_fetch_object($query)) {
echo "Game #".$rs->gamenum." - Date: ".
date('M j, Y', $rs->gamedate)." (".$rs->gamedate.")";
}
It is returning this result:
Game #29 - Date: Dec 31, 1969 (2007-04-21 14:00:00)
Where is the Dec 31, 1969 coming from?
Should be returning Apr 21, 2007.