I am sending formatted date picker value (5/17/2014) in Kendo Grid. In the grid it shows the correct format but after sending, on the server (PHP) it is posted as Sat May 17 2014 00:00:00 GMT+0530 (IST). How do I overcome this from client side it self.
model: {
id: "id",
fields: {
id: {
editable: false /*type: "number"*/
},
schedule_date: {
type:"date",
format:"M/d/yyyy"
},
}
columns: [ {field: "schedule_date", type:"date", "format": "M/d/yyyy",parseFormats: ["M/d/yyyy"],
title: "Schedule Date",editable: true,width:"200px",
editor: function(container, options) {
var input = $("<input/>");
input.attr("name", options.field);
input.appendTo(container);
input.kendoDatePicker({
"format": "M/d/yyyy",
parseFormats: ["M/d/yyyy"],
});
}}
]