kendo datetimepicker
@(Html.Kendo().DatePicker()
.Name("yearCalendar")
.Value(DateTime.Now)
.Start(CalendarView.Decade)
.Depth(CalendarView.Decade)
.Max(DateTime.Now)
.Format("yyyy")
.Events(e => e.Change("changeYear"))
.HtmlAttributes(new { @class = "form-control" }))
2、js获取数据需要转换格式 kendo.toString(checkEndDate, "yyyy-MM-dd"))