原创 php 時間類函數

獲取當前日期: date(‘Y-m-d H:i:s’) 獲取前一天的日期: date(‘Y-m-d’, strtotime(’-1 day’)) 獲取前一個月的日期: date(“Y-m-d”,strtotime("-1 mont