Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does Deserialize handle date time?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01106771
Message ID:
01108033
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform