setMilliseconds()
sets the milliseconds of a date.
setMilliseconds()
is an ECMAScript1 (ES1) feature.
ES1 (JavaScript 1997) is fully supported in all browsers:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | Yes |
Date.setMilliseconds(
millisec)
millisec | Required. The milliseconds. (0 to 999), but other values are allowed:
|
A number. Number of milliseconds between the date and January 1, 1970 00:00:00 UTC. |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!