echo date('Y-m-d H:i:s', strtotime('-1 days')); 转载于:https://www.cnblogs.com/xiaorui123/p/5622098.html