This is a migrated thread and some comments may be shown as answers.

Serializing the date value

0 Answers 47 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Kathy
Top achievements
Rank 1
Veteran
Kathy asked on 27 May 2020, 06:43 PM
In my serialize function, the function handling the date is decorated as [XmlElement(DataType = "date")] and I thought that the date would be serialized as yyyyMMdd. It looks like it comes out yyyy-MM-dd. On my OS, the format for a date is 05/27/2020. How would I serialize this to be yyyyMMdd?

No answers yet. Maybe you can help?

Tags
DatePicker
Asked by
Kathy
Top achievements
Rank 1
Veteran
Share this question
or