“2017-08-08T08:20:48.485Z”,T后面是怎么算时间的啊?
new Date
@airyland new Date跟这个格式也不一样啊
需要处理时区,使用三方库的话,可以用moment
http://momentjs.com/
Date(Date.parse(“2017-08-08T14:24:39.136Z”)) lowbee的方案
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
new Date
@airyland new Date跟这个格式也不一样啊
需要处理时区,使用三方库的话,可以用moment
http://momentjs.com/
Date(Date.parse(“2017-08-08T14:24:39.136Z”)) lowbee的方案