let newDate = (date).replace(/-/g, '/');
var date = new Date(newDate).getTime();

相关文章: