10.02.2018 Views

js_tutorial

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Javascript<br />

<br />

<br />

Output<br />

getUTCHours() : 11<br />

getUTCMilliseconds ()<br />

Javascript date getUTCMilliseconds() method returns the milliseconds in the<br />

specified date according to universal time. The value returned by<br />

getUTCMilliseconds is an integer between 0 and 999.<br />

Syntax<br />

Its syntax is as follows:<br />

Date.getUTCMilliseconds ()<br />

Return Value<br />

Returns the milliseconds in the specified date according to universal time.<br />

Example<br />

Try the following example.<br />

<br />

<br />

JavaScript getUTCMilliseconds Method<br />

<br />

<br />

<br />

var dt = new Date();<br />

document.write("getUTCMilliseconds() : " + dt.getUTCMilliseconds() );<br />

<br />

<br />

<br />

Output<br />

getUTCMilliseconds() : 206<br />

240

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!