//by www.qzphp.cn date("Y-m-d",strtotime("-1 day"));//今天的昨天 date("Y-m-d",strtotime("-1 day",$timestamp));//某一天的昨天