4.用PHP打印出前一天的时间格式是2006-5-10 22:21:21时间:2023-03-08 19:44:52echo date('Y-m-d H:i:s', strtotime('-1 days'));