I want to get only year from kendo datepicker.
var defaultyear = $("#datepicker").val();
// 2/22/2015
I want '2015'. I do not want to change display format. Thanks.
Solved :)
var defaultyear=kendo.toString($("#datepicker").data("kendoDatePicker").value(), 'yyyy');