I have a WCF service that returns JSON.
Since this morning, I started to get the following error:
DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON
Just for the test, I passed today's date to all the DateTime variables that are being returned using JSON, but I stil get the same error.
The code is around 2k rows, so I see no value in posting it here.
Any idea how to solve it??