value

Gets/Sets the value of the calendar.

Parameters

value Date|String

The date to set.

Returns

Date The value of the calendar.

Example - gets the value of the widget

<div id="calendar"></div>
<script>
    $("#calendar").kendoCalendar({
        value: new Date(2013, 10, 10)
    });

    var calendar = $("#calendar").data("kendoCalendar");

    var value = calendar.value();
</script>

Example - sets the value of the widget

<div id="calendar"></div>
<script>
    $("#calendar").kendoCalendar({
        value: new Date(2013, 10, 10)
    });

    var calendar = $("#calendar").data("kendoCalendar");

    calendar.value(new Date());
</script>
In this article