$stime = mktime(0,0,0,date('m'),date('d')-7,date('Y'))-1;//7天前的时间戳 转载于:https://www.cnblogs.com/pangchunyu/p/11339537.html