在js中new Date(2016,1,1)得到的结果并不是2016,1,1,必须的写new Date('2016,1,1') new Date("2016/12/20,12:20:12") 转载于:https://www.cnblogs.com/wxlyq/p/5091023.html