date() what da... 2038????
Posted: Tue Apr 11, 2006 1:33 pm
I am using date() function but it should be some dam ghost or something somewhere (lool, kidding)
what da heck is wrong with this code?
can anybody help me out and tell me why does this code outputs:
the timestamp is right.. then the date gets crazzy... help plz
thx in advance.
what da heck is wrong with this code?
Code: Select all
$query="select date from projectos where ID=$ID";
$result=mysql_query($query);
$array=mysql_fetch_array($result);
echo $array['date'];
echo "<br>"
$strdate=date("j/n/Y",$array['date']);
echo $strdate;can anybody help me out and tell me why does this code outputs:
Code: Select all
20060322154501
19/1/2038thx in advance.