PHP处理给定日期 得到具体日期

$day = date('Y-m-d',strtotime("$date -30 day"));    得到给定日期前30天的日期

之后 同理

猜你喜欢

转载自blog.csdn.net/qq_38526952/article/details/88294801