<br>date_default_timezone_set('Asia/Shanghai');//此句用于消除时间差<br>$nowtime=date("Y-m-d H:i:s");<br>echo date('Y-m-d H:i:s',strtotime("$nowtime-1 hour"));<br>hour小时<br>minute分钟<br>year年<br>month月<br>day日<br> 本文链接http://www.cxybl.com/html/wlbc/Php/20130523/37995.html <p style="width:100%;text-align:center;margin:10px 0"> <br> <br> </p> <p style="width:100%;text-align:center;margin:10px 0"> </p> <p class="clear"></p>