How to change date format?

When the contact form is filled out, it shows the date sequence as year, month, day. They would like it to be month, day, year. How would I change this code to do that? Any suggestions are appreciated.

jQuery(function ($) {
   var now = new Date(); 
   var day = ("0" + now.getDate()).slice(-2);
   var month = ("0" + (now.getMonth() + 1)).slice(-2);
   var today = now.getFullYear()+"-"+(month)+"-"+(day);
$("#datePicker").attr("min", today);
$("#datePicker1").attr("min", today);

I hate jQuery… /rant

Maybe I’m seeing this wrong but uhm… wouldn’t you just switch this around to be the format you want?
var today = now.getFullYear()+"-"+(month)+"-"+(day);

Unless that’s the format datepicker accepts it., in that case you’ll have to elaborate on what “it” is.

Because I have no idea what “they would like it to be month, day, year.”

Click “view source” inside of this page and look at code there: