How do I format a Microsoft JSON date?

后端 未结 30 3072
伪装坚强ぢ
伪装坚强ぢ 2020-11-21 04:48

I\'m taking my first crack at Ajax with jQuery. I\'m getting my data onto my page, but I\'m having some trouble with the JSON data that is returned for Date data types. Basi

30条回答
  •  执笔经年
    2020-11-21 04:55

    var newDate = dateFormat(jsonDate, "mm/dd/yyyy"); 
    

    Is there another option without using the jQuery library?

提交回复
热议问题