Answers for "The JSON value could not be converted to System.DateTime"

0

The JSON value could not be converted to System.DateTime

your date value in your JSON isn't correct. should be

2019-01-06T17:16:40
Most parsers use ISO 8601

You can use

new Date(stringValue).toISOString()

Then your post will work using the correct date format :)
Posted by: Guest on January-06-2021

Code answers related to "The JSON value could not be converted to System.DateTime"

Code answers related to "Javascript"

Browse Popular Code Answers by Language