title: How to convert ajax date and format it?
body: <p>when i get value of 'MyProperty_Payment_Test_ADate' from my controller to ajax, the date value displayed as /Date(1435689000000)/, i want this in 'yyyy-mm-dd' format. how can i convert this?</p>
  
  <pre><code> function SelectPaymentTest() {
      $.ajax({
          url: '../Payment/SelectPaymentTest',
          type: 'POST',
          dataType: 'json',
          cache: false,
          async: false,
          data: {},
          success: function (data) {
              var tr = '';
              $(data.PaymentTestList).each(function (key, val) {
                  tr += '&lt;tr&gt;';
                  tr += '&lt;td&gt;' + val.MyProperty_Payment_Test_Id + '&lt;/td&gt;';
                  tr += '&lt;td&gt;' + val.MyProperty_Payment_Test_Name + '&lt;/td&gt;';
                  tr += '&lt;td&gt;' + val.MyProperty_Payment_Test_ADate + '&lt;/td&gt;';// this contain value as "/Date(1435689000000)/"
                  tr += '&lt;td&gt;' + val.MyProperty_Payment_Test_CDate + '&lt;/td&gt;';
                  tr += '&lt;td&gt;&lt;span class="glyphicon glyphicon-edit" category_Id="' + val.MyProperty_Payment_Test_Id + '"  style="cursor:pointer;"&gt;&lt;/span&gt;&lt;/td&gt;';
                  tr += '&lt;td&gt;&lt;span class="glyphicon glyphicon-trash" category_Id="' + val.MyProperty_Payment_Test_Id + '"  style="cursor:pointer;"&gt;&lt;/span&gt;&lt;/td&gt;';
                  tr += '&lt;/tr&gt;';
              });
              $('#GemPaymentTestBody').html("");
              $('#GemPaymentTestBody').html(tr);
          }
      });
  }
  </code></pre>