转换成时间戳 new Date('2018-10-11 14:28:47'.replace(/-/g, '/')).getTime() //1539239327000 转载于:https://www.cnblogs.com/lanshengzhong/p/9803079.html