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
The easiest one:
var milisegundos = parseInt(data.replace("/Date(", "").replace(")/", "")); Var newDate = new Date(milisegundos).toLocaleDateString("en-UE");