精确到月,没有日 $list[$k]['month'] = date("Y-m",$v['month']); 转载于:https://www.cnblogs.com/wanlibingfeng/p/6427722.html