Javascript Date Substract to get difference In Milliseconds

Description

Javascript Date Substract to get difference In Milliseconds



let Halloween = new Date("Oct 31, 2020");
let NextDay = new Date("Nov 1, 2020 11:32:11");

console.log( (NextDay-Halloween) + " milliseconds");  



PreviousNext

Related