This documentation is archived and is not being maintained.
getUTCMilliseconds Method
Visual Studio 2010
Returns the milliseconds value in a Date object using Coordinated Universal Time (UTC).
function getUTCMilliseconds() : Number
The following example illustrates the use of the getUTCMilliseconds method.
function UTCTimeDemo(){
var d, s = "Current Coordinated Universal Time (UTC) is: ";
var c = ":";
d = new Date();
s += d.getUTCHours() + c;
s += d.getUTCMinutes() + c;
s += d.getUTCSeconds() + c;
s += d.getUTCMilliseconds();
return(s);
}
Show: