时间戳取年-月

精确到月,没有日

$list[$k]['month'] = date("Y-m",$v['month']);    

原文地址:https://www.cnblogs.com/wanlibingfeng/p/6427722.html