I have a Dictionary<string, object> collection.
and the dictionary object looks {8/8/2021 1:38:34 PM +00:00} (datetime object)
Facing some milliseconds problem because of +00:00.
Need to remove +00:00 from the dictionary object. Is there any way to remove that character from dictionary?
My ultimate goal is convert my datetime object into ISO format. Facing issue while converting because of +00.00
Please help me to resolve this issue.
DateTimeinstance. And the dictionaries do not play any role in your problem. The real question you should be asking is: "How do I format aDateTimeinstance in ISO format?" And you should add the specific ISO variant you are interested in. But then again: this question has been answered many times. Just search for it.