Set UTC Milliseconds : UTC Date « Date Time « JavaScript DHTML






Set UTC Milliseconds

    
<html>
<body>
<button onclick="var myDate = new Date(); 
                 myDate.setUTCMilliseconds(20); 
                 alert(myDate);">Date: set UTC Milliseconds</button>
</body>
</html>

    
      
      








Related examples in the same category

1.Get UTC Day
2.Get UTC Date
3.Get UTC Seconds
4.Get UTC Month
5.Get UTC Minutes
6.Get UTC Milliseconds
7.Get UTC Hours
8.Set UTC Hours
9.Convert time to a UTC Date
10.Set UTC Full Year
11.Set UTC Date
12.Set UTC Seconds
13.Set UTC Month
14.Set UTC Minutes
15.Convert Date to UTC String