i have tried the solution proposed in this solution
i have a class
public class MyClass
{
[IgnoreDataMember]
public DateTime? Date { get; set; }
}
when the JavaScriptSerializer serializes the result it changes the date time for example if i have 2012-07-20
in my database after the serialization it is returned as 2012-07-21
because the application is hosted at a location that is outside my time zone i am facing a lot of problems because of it