时间戳

//开始时间为上个月月出
$time = date('Y-m-01' , time());
$stime = strtotime('-1 month' , strtotime($time));
//结束时间为 当月月底 下月月初之前
$etime = strtotime("+1 month", strtotime($time));
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章