Set the format of a Kendo DateTimePicker date sent to the controller
问题 I'm using a Kendo DateTimePicker in my application. The value I get from it in my application is Wed Aug 13 2014 00:00:00 GMT+0200 (Romance Daylight Time) I can't parse this to a DateTime. I get a "String was not recognized as a valid DateTime." error. How can I set the format of the date I get from the DateTimePicker?? Is there an option in Kendo DateTimePicker??t 回答1: If you Need to Change the Date that you get from your application you can do as below var dateobj=kendo.parseDate("Wed Aug