getMilliseconds

Returns the milliseconds of a date object.

Parameters

targetDate Date

The date object to get the milliseconds of.

Returns

Number Returns the milliseconds of a date object.

Example

<script>
    var targetDate = new Date(2016,10,5,15,25,11);
    var milliseconds = kendo.date.getMilliseconds(targetDate);
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(milliseconds); //55511000
</script>
In this article