SyntaxFix
Write A Post
Hire A Developer
Questions
Yes, you can do this in a single line
let ms = Date.parse('2019-05-15 07:11:10.673Z'); console.log(ms);//1557904270673