krappleby025
Programmer
I am pulling data from a database timestamp field, and trying to generate a formated date form it. however i have a problem...
The coding im using is
$newdate = date("d/m/Y",$signdate);
(signdate being the timestamp field)
the var $newdate, produces 18/01/2038
however...
the timestamp states
20031026134827
which as you can see should read 26/10/2003
so why is it instead producing 18/01/2038.
any ideas
thanks
The coding im using is
$newdate = date("d/m/Y",$signdate);
(signdate being the timestamp field)
the var $newdate, produces 18/01/2038
however...
the timestamp states
20031026134827
which as you can see should read 26/10/2003
so why is it instead producing 18/01/2038.
any ideas
thanks