THANK YOU for developing this script. It does not return the selected date in the correct format. Even your examples do not return the correctly formatted date. What change is necessary to get it to return MM/DD/YYYY instead of DD/MM/YYYY? THANKS MUCH!