title: Issue in date foarmat in JQuery datepicker
body: <p>I have 2 datepicker which binds to textboxes <code>Chkin</code> and <code>Chkout</code>. I need to display dates in dd/mm/y JQuery datepicker format. Problem is that when I try to get <code>getFullYear()</code> method of a <code>dd/mm/y</code> formatted date, I get result as of 19th hundred(as I know default starts with 1900). So when ever I select a date in my first datepicker, second date picker year changes to 1913(<code>August 1913</code> in month view of August in datepicker 2) what I expected is 2013. 
  Below is my code- </p>
  
  <pre><code>$("#Chkin").datepicker({
      dateFormat: 'dd/mm/y',
      minDate: '+0',
      onClose: function (dateText, inst) {
          if ($("#ctl00_ContentPlaceHolder1_hdnDateformat").val() == "dd/mm/y") {
  
              var parts = dateText.split("/");
              var cin = new Date(Number(parts[2]), Number(parts[1]) - 1, Number(parts[0]));
          } else {
              var cin = new Date(dateText);
          }
          var chkout = new Date(cin.getFullYear(), cin.getMonth(), cin.getDate() + 1);
          var maxCOut = new Date(cin.getFullYear(), cin.getMonth(), cin.getDate() + 7);
          $("#Chkout").datepicker('option', 'minDate', chkout);
          $("#Chkout").datepicker('option', 'maxDate', maxCOut);
          $("#Chkout").datepicker("setDate", chkout);
      }
  });
  </code></pre>