Javacript date to string (format hh:mm)

前端 未结 0 1033
情深已故
情深已故 2021-01-26 09:44

How can I convert I date object to the format hh:mm in javascript?

I have tested with

const timeOptions = {
  hour: "2-digit",
  minute: "2-         


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