📌  相关文章
📜  JSON 值无法转换为 System.DateTime - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:22.899000             🧑  作者: Mango

代码示例1
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 :)