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
StartDate = moment(StartDate).format('MM-YYYY');
...and MySQL date format:
StartDate = moment(StartDate).format('YYYY-MM-DD');