XML DateTime type field returns invalid date when Serializing

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
hi ,
I serialize one xml using Serialize method. The field contains xs:datetime type and the property for this field is DateTime. When i set the value for this field in xml as 2012-08-14T10:23:56 the serialize object showed the value as {1/1/0001 12:00:00
AM}
Why this is happened any separate handling is needed for this?

View the full article
 
Back
Top