How to get the client's system date and time format in JavaScript?

后端 未结 0 723
[愿得一人]
[愿得一人] 2020-12-01 21:25

I have a date value here:

let myDate = new Date();
console.log(myDate); // display format depending on computer

And i want to format the date

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