I have a controller action that effectively simply returns a JsonResult of my model. So, in my method I have something like the following:
return new JsonRes
add jquery ui plugin in your page.
function JsonDateFormate(dateFormate, jsonDateTime) { return $.datepicker.formatDate(dateFormate, eval('new ' + jsonDateTime.slice(1, -1))); };