I need to take the date value from jquery datepicker turn it into string format \"MM/dd/yyyy\" so it can do the right ajax post. When the page loads or upon changing the datepic
I think you just have incorrect casing in the format string. According to the documentation this should work for you: MM/DD/YYYY
MM/DD/YYYY
moment.js documentation