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