duration
Returns the scheduler event length in milliseconds.
Returns
Number
the length of the event.
Example - get length of the event
<script>
var event = new kendo.data.SchedulerEvent({
id: 1,
title: "Task1",
start: new Date("2013/4/4 12:00"),
end: new Date("2013/4/4 14:00")
});
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(event.duration());
</script>