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")
    });

    console.log(event.duration());
</script>
In this article
Not finding the help you need?