I have a Person class which has a date time property. An object of Person type is sent back as oData response. The response being json.
"FirstName": "Tim",
"LastName": "Sam",
"EmailID": "[email protected]",
"CompanyName": null,
"CreatedDate": "2014-03-18T19:24:30.847"
A lot of help on web suggest using ToString and specifying a format. How to set the Date in mm/dd/yyyy without resorting to a change to string so that the same is seen in json?
Regards.