C O C O - 1 year ago 64
C# Question

Using toString() changes the value of my date?

I'm using parsing a JSON Object, and it's parsing properly using Newtonsoft.


Basically when I do


it returns

8/13/2016 10:05:22 PM

How do I fix this? I want it to to return


Answer Source

Look for a DateParseHandling property and set it to DateParseHandling.None.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download