How to convert date coming from the db JavaScript

前端 未结 0 861
刺人心
刺人心 2021-01-21 22:22

My problem is that i need the convert this:

Actual result: The date format is like \"2020-10-19T16:30:00+00:00\"
Expected result: The date format should be \" 2020
相关标签:
回答
  • 消灭零回复
提交回复
热议问题