JavaScript toISOString() sets the date a day previous to the user input date?

后端 未结 0 1545
小鲜肉
小鲜肉 2021-01-12 06:31

When I try to convert a user inputted date such as 05/13/1978 I want to send the date in ISO format to the server as that is what the back end accepts.



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