最近三个月和三个月以前三个月的 起始时间戳,最近六个月和六个月以前的六个月的 起始时间戳,最近一年和一年前的 起始时间戳

//获取要查询的时间段的 开始时间和结束时间 switch ($month) { case 1: #本期时间段 $nowbegin = strtotime(date("Y-m-d H:i:s",mktime(0, 0 , 0,date("m")-1,1,date("Y"))));#上月 $nowend=strtotime(date("Y-m-d H:i:s",mktime(0, 0
相关文章
相关标签/搜索