echo "上周一日期:"; echo date('Y-m-d',mktime(0,0,0,date('m'),date('d')-date('w')-6,date('Y'))); echo "<br>"; echo "本周一日期:"; echo date('Y-m-d',mktime(0,0,0,date('m'),date('d')-date('w')+1,date('Y'))); echo "<br>"; echo "下周一日期:"; echo date('Y-m-d',mktime(0,0,0,date('m'),date('d')-date('w')+8,date('Y')));
最新评论: