Ignore DateTime prop from being serialized (not working)
===

i have tried the solution proposed in [**this**][1] 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


  [1]: http://stackoverflow.com/questions/9285439/ignoring-properties-when-serializing