首頁 >後端開發 >php教程 >php获取月头月末

php获取月头月末

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-23 13:14:451510瀏覽

$start_time = $year . '-' . $month .'-01 00:00:00';<br />$end_time = date('Y-m-d', strtotime($start_time. ' +1 month -1 day')).' 23:59:59';


陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn