Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does Deserialize handle date time?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01106771
Message ID:
01108033
Views:
16
You're welcome Dawa. =)

But now I'm curious as to what was wrong to begin with. Did you not serialize the class correctly?

~~Bonnie



>>Hi Dawa,
>>
>>Did you ever get this to work? I just tried it and it works fine for me. Could you post more of your code? (like how you got the XML string or stream or whatever you used). Here's the little test I used that worked:
>>
>>First I instantiated the class, set the MyDate property to 3/21/2006 12:25:00, and wrote it out to an XML file.....
><snip>
>
>Bonnie
>
>Thank you so much for that!
>
>I wrote a small app based on your sample and it answered my question. Now I don't have to worry about it, the Deserializer converts the XML time to local time which is exactly what I wanted.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform