how can I convert a date string in the format “1969-03-07T05:00:00.000Z” to the output normally provided by new Date()

前端 未结 0 753
梦毁少年i
梦毁少年i 2020-12-02 14:12

I am using mongodb to save my dates, and I do it by doing new Date()

how can I convert my date to string to the output of new Date()?

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