New to Kendo UI for jQueryStart a free 30-day trial

Duration

methods

Returns the scheduler event length in milliseconds.

Returns:Number

the 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>
Not finding the help you need?
Contact Support