var approveTime; approveTime=new Date(da[i].approveTime).toLocaleDateString(); 结果是 xxxx年xx月xx日 转载于:https://www.cnblogs.com/niuxi/p/6437708.html