Adds milliseconds to a date.


targetDate Date

The date to add the milliseconds to.

millisecondsToAdd Number

The milliseconds that will be added to the date.

ignoreDST Boolean

A Boolean value that indicates whether the DST will be ignored. The default value is false.


    var targetDate = new Date(2016,10,5,15,25,11);
    console.log(targetDate); // Sat Nov 05 2016 15:25:11 GMT+0200 (FLE Standard Time)
    var ignoreDST = false;, 999888777, ignoreDST);
    console.log(targetDate); // Thu Nov 17 2016 05:09:59 GMT+0200 (FLE Standard Time)
In this article
Not finding the help you need? Improve this article