Friday, 6 September 2013

JSON Date from ASP.NET Change Data Type from Object

JSON Date from ASP.NET Change Data Type from Object

I am running into the common issue where my web service is returning
/Date(1255470180000)/ which is very hard to work with on the client. Most
post I have read suggest changing the date type to string before the web
service returns the date to the client.
I am using entity framework to return an object from my web service. My
question is, how do I change the datatype from my date field to string on
my object before returning it from my web service?

No comments:

Post a Comment