The setUTCMilliseconds() function of date object sets milliseconds for specified date as per the universal time. Use it for example to sets milliseconds for specified date.
Syntax
This will produce following result