How do I get the current date and time in the format given Below

前端 未结 0 1555
粉色の甜心
粉色の甜心 2020-12-30 14:58

What I want to do in this line of code is:-

let current = new Date(\'2020-12-31 23:59:58\').getTime();

I want to get the time just right now

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