$time = 1143515009-3600*24*5;
echo date("Y-m-d H:i:s",$time)

解决方案 »

  1.   

    $d = 1143515009;
    echo date("Y-m-d",strtotime('-5 day', $d));
      

  2.   

    strtotime('-5 day', $d)这种写法我觉得还是少用的好。
    因为strtotime('next Thursday', $d)这个我在不同的机器上得出过不同的结果。
      

  3.   

    $aa = 1143515009-5*24*60*60;
    $ss=date("Ymd",$aa);
      

  4.   

    strtotime ("-5" "1143515009")
    楼主这是哪门子语言?
      

  5.   

    xian222()  写的好像是对的