2013-02-17, 11:25 AM
Here is my unix time stamp: 1361491200
I've tried checking server time with date("d-m-y") and it is working fine.
but when i try to use this time stamp as
and out put is: 21-02-2013
but the correct output is: 22-02-2013, so where i am getting it wrong ?
I've tried checking server time with date("d-m-y") and it is working fine.
but when i try to use this time stamp as
$string="1361491200";
echo date("d-m-y",$string);
and out put is: 21-02-2013
but the correct output is: 22-02-2013, so where i am getting it wrong ?