Date.setMilliseconds()
Sets the milliseconds of a date object
The setMilliseconds() method sets the milliseconds for a specified date according to local time.
Syntax
Parameters
millisecondsValue
A number between 0 and 999, representing the milliseconds.
Return value
The number of milliseconds between 1 January 1970 00:00:00 UTC and the updated date.
Description
Examples
Using setMilliseconds()
setMilliseconds()
References
Contributors to this page
Uros Durdevic
Last updated