Date.prototype.addMilliSeconds(second) Adds the milliseconds by the argument received in the date object. let date = new Date(); console.log(date); //2020-09-16T04:24:29.415Z date.addMilliSeconds(102); console.log(date); //2020-09-16T04:24:29.517Z