How do I send to View()
of my Controller in Json format, the date formatted in the dd-MM-yyyy hh:mm:ss
pattern?
In the data transport between View and Controller I'm using AJAX.
public ActionResult GetList(Object abc) {
...
ObjEntity temp = methodGetInDB();
string valueJson = new JavaScriptSerializer().Serialize(temp);
//Saída temp: "Date":"\/Date(1483290061000)\/"
}