Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy