get number of days between two dates in javascript format dd-mm-yyyy?

后端 未结 0 1565
伪装坚强ぢ
伪装坚强ぢ 2021-01-06 18:31

I have this code and its work,but results is in format mm-dd-yyyy,how can i change it to get results in dd-mm-yyyy format?

var date1 = new Date("7/01/202         


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