$s=time()+24*60*60;
echo Date("Y-m-d",$s);

解决方案 »

  1.   

    $date = strtotime("2005-10-19");
    $date += 24 * 60 * 60;
    $date2 = date('Y-m-d', $date);
    echo $date2;
      

  2.   

    $yrh=mktime(0,0,0,10,19+1,2005);
    $m=date("m",$yrh);
    $d=date("d",$yrh);
    $Y=date("Y",$yrh);
    echo $Y."-".$m."-".$d;
      

  3.   

    $date = strtotime("2005-10-19");
    $date += 24 * 60 * 60;
    $date2 = date('Y-m-d', $date);
    echo $date2;
    ---
    这个比较简单,嗯嗯
      

  4.   

    echo date("Y-m-d",strtotime("2005-10-19 +1 day"));
      

  5.   

    <?php
    echo strtotime ("now"), "\n";
    echo strtotime ("10 September 2000"), "\n";
    echo strtotime ("+1 day"), "\n";
    echo strtotime ("+1 week"), "\n";
    echo strtotime ("+1 week 2 days 4 hours 2 seconds"), "\n";
    echo strtotime ("next Thursday"), "\n";
    echo strtotime ("last Monday"), "\n";
    ?> 
    手册上的,呵!