When I pick the value from the date picker input its in this format (Tue Mar 24 2020 17:00:00 GMT-0800(PST) I need to convert it to (MM-DD-YYYY)
Here is the part from my code where I get the value of the date
Reportinfo.ProjectDate = document.getElementById("date").value;
Any Ideas ? I didn't know how to implement
"toLocaleDateString()"