Custom DateTime XML Serialization

后端 未结 3 1012
清歌不尽
清歌不尽 2020-12-21 02:15

I would like to be able to Serialize a DateTime with a specific Time Zone that is not the server, nor is it client time. Basically, any time zone. Is it possible to override

3条回答
  •  醉话见心
    2020-12-21 02:42

    This was discussed 2 days ago. Does this do it for you?

    C# serializing Class to XML where one of class properties is DateTime. How to make this property in ISO format?

提交回复
热议问题