黄聪:PHP获取某一天前后任意时间

date("Y-m-d",strtotime('-30 days',strtotime('2016-9-30')));
原文地址:https://www.cnblogs.com/huangcong/p/9831512.html