Get milliseconds from current date in Javascript.

Rajesh_Kumar
Posted by Rajesh_Kumar under JavaScript category on | Points: 40 | Views : 693
We use getMilliseconds() method of date object to get milliseconds from current date.

For Example:

<script type="text/javascript">
function get_milliseconds()
{
var dt = new Date();
alert(dt.getMilliseconds());
}
</script>

Comments or Responses

Login to post response