XML DateTime type field returns invalid date when DeSerializing

Answered XML DateTime type field returns invalid date when DeSerializing

  • Tuesday, August 14, 2012 11:59 AM
     
     

    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?


    • Edited by akhilrajau Tuesday, August 14, 2012 3:36 PM
    •  

All Replies

  • Wednesday, August 15, 2012 10:06 AM
     
     Answered
    The problem is order of the data. Now its working
    • Marked As Answer by akhilrajau Wednesday, August 15, 2012 10:50 AM
    •