atlas JavaScriptObjectSerializer serializing DateTime properties to wrong time zone

Discussion in 'ASP .Net' started by sonic, Aug 24, 2006.

  1. sonic

    sonic Guest

    when i serialize my c# object to javascript, it creates a
    Date(1153958400000); in place where my c# DateTime property was, and
    that date goes back 4 hours to eastern standard time. than the browser
    does another -4

    MyUser u = GetUser();
    string s =
    u );
    sonic, Aug 24, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.