Sets the UTC date's milliseconds

Description

setUTCMilliseconds
Sets the UTC date's milliseconds. (milliseconds)

Example


      var myDate = new Date();
      /*from  w  w  w. ja va 2  s  .com*/
      myDate.setUTCMilliseconds(12);
      console.log(myDate.toString());
      

The code above generates the following result.





















Home »
  Javascript »
    Javascript Reference »




Array
Canvas Context
CSSStyleDeclaration
CSSStyleSheet
Date
Document
Event
Global
History
HTMLElement
Input Element
Location
Math
Number
String
Window