title: pickadate.js-3.5.3 converting string date to correct format for mysql DATE
body: <p>I understand very little about javascript/jquery and am trying to pass the date using the pickadate.js-3.5.3 using html/php/mysql i need to take the user inputed date from pickadate.js-3.5.3 date function and convert it into a format subtible for the DATE data type in MYSQL </p>
  
  <p>This is the code i have so far; </p>
  
  <pre><code>&lt;p id="datepairExample"&gt;Date:&lt;input class="fieldset__input js__datepicker" name="datepicker1" value="" type="text" placeholder="Date"&gt; &lt;/p&gt;&lt;br/&gt;
  
     &lt;script src="http://code.jquery.com/jquery-1.10.2.min.js"&gt;&lt;/script&gt;
  
     &lt;script src="dt/js/legacy.js"&gt;&lt;/script&gt;
      &lt;script src="dt/js/picker.js"&gt;&lt;/script&gt;
      &lt;script src="dt/js/picker.date.js"&gt;&lt;/script&gt;
      &lt;script src="dt/js/picker.time.js"&gt;&lt;/script&gt;
       &lt;script&gt;window.jQuery||document.write('&lt;script src="pickadate.js-3.5.3/tests/jquery.2.0.0.js"&gt;&lt;\/script&gt;')&lt;/script&gt;
      &lt;script src="dt/demo.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I have read the documents on how to do this, and have even tryed to copy and paste the code from the demo into my own page but with no luck! Any advice is welcome! Thanks</p>