<?php $z=$GLOBALS['argv'][1]; $date=date('Ymd H:m:s',$z); echo $z."\n"; echo $date."\n"; echo strtotime($date)."\n"; ?>
When I pass 1307433995 its ok
1307433995 2011-06-07 10:06:35 1307433995
but when I go through 1307436121, it is something strange ...
1307436121 2011-06-07 10:06:01 1307433961
Any help?
source share