echo date('Y-m-d', mktime(0, 0, 0, date('m'), 1, date('Y'))); echo '<br/>'; echo date('Y-m-d', mktime(0, 0, 0, date('m')+1, 0, date('Y')));
转载于:https://www.cnblogs.com/zflinux21/archive/2012/11/23/2784876.html
echo date('Y-m-d', mktime(0, 0, 0, date('m'), 1, date('Y'))); echo '<br/>'; echo date('Y-m-d', mktime(0, 0, 0, date('m')+1, 0, date('Y')));
转载于:https://www.cnblogs.com/zflinux21/archive/2012/11/23/2784876.html