getMonth() in Date shows wrong value

后端 未结 0 1888
春和景丽
春和景丽 2020-12-13 16:04

I am trying to get the month of the given date as a string in javaScript but I get the wrong month of the date displayed.

var d = new Date("Sun Dec 13 20         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题