let dateEn=new Date(Date.parse('2020-09-12 10:11:12'.replace(/-/g,"/"))); let entime=dateEn.getTime(); console.log('entime',entime)