title: Date is not getting properly bound in my textbox Jquery
body: <p>I want to show my date field in a textbox which is coming from <code>Oracle</code> database. </p>
  
  <p>The scenario is, my date stored in DB column is <code>01-12-17</code> and its datatype is <code>date</code>.</p>
  
  <p>and while binding it is coming as <code>1-11-17</code> I don't know why it's happening like this.</p>
  
  <p>Here is my binding code.</p>
  
  <pre><code>if (getJSONValue.LAUNCH_DATE != "" || getJSONValue.LAUNCH_DATE != null) {
      var newDate = new Date(getJSONValue.LAUNCH_DATE);
      var day = newDate.getDate();
      var month = newDate.getUTCMonth() + 1;
      var year = newDate.getFullYear();
      $('#txtLaunchDate').val(day + "-" + ((month)) + "-" + year.toString().substr(-2));
  }
  else {
      $('#txtLaunchDate').val("");
  }
  </code></pre>