如下:
<? getMonthRange( , = = ( ( = ( 'Y-m-1 00:00:00', = ( 't', = ( 'Y-m-' . . ' 23:59:59', ?>
代碼:
<? getWeekRange(==(=('%u',['sdate']=('Y-m-d 00:00:00',-(-1)*86400['edate']=('Y-m-d 23:59:59',+(7-)*86400 .jbxue. getMonthRange(==(=('t',['sdate']=('Y-m-1 00:00:00',['edate']=('Y-m-'..' 23:59:59', getFilter(=( 1: ['sdate']=('Y-m-d 00:00:00',('-1 day'['edate']=('Y-m-d 23:59:59',('-1 day' 2: =getWeekRange(('Y-m-d' 3: =('Y-m-d',('-1 week'=getWeekRange( 4: =('Y-m-d',('-2 week'=getWeekRange( 5: =getMonthRange(('Y-m-d' 6: =('Y-m-d',('-1 month'=getMonthRange( ?>