title: How to parse JSON format date string into date format
body: <p>What I am doing is, fetching data from database using ajax and show it on html text boxes for update purposes. Below is my Web Method code from where I get data successfully.</p>
  
  <pre><code>[WebMethod]
  public static List&lt;Employee&gt; getEmployee()
  {
       var slist = new List&lt;Employee&gt;();
       var db = new BLUEPUMPKINEntities();
       slist = db.Employees.ToList();
       return slist;
  }
  </code></pre>
  
  <p>Now when I get data from database I got date in this format  <code>/Date(725828400000)/</code>. I search google about parse and converting json date string format into html / javascript date also use 3rd party plugins like moment.js and jquery.ui but not solve my problem. Also here I am sharing my code from which I get data from ajax in json format and show it on jquery datatable. </p>
  
  <pre><code>$.ajax({
      url: "Employees.aspx/getEmployee",
      data: null,
      contentType: "Application/json; charset=utf-8",
      responseType: "json",
      method: "POST",
      success: function (response) {
          //alert(response.d);
  
          var jsonObject = response.d;
          var result = jsonObject.map(function (item) {
              //var date = new Date(item.EMP_DOB);
              //var obj = Date.parse(date);
              var result = [];
              result.push('');
              result.push(item.EMP_FNAME);
              result.push(item.EMP_MNAME);
              result.push(item.EMP_LNAME);
              result.push(item.EMP_EMAIL);
              result.push(item.EMP_DOB); //this is my date column in my database from where date is in yyyy/mm/dd format
              result.push(item.EMP_USERNAME);
              result.push(item.EMP_PASSWORD);
              result.push(item.ID);
              return result;
          });
          myTable.rows.add(result); // add to DataTable instance
          myTable.draw();
      },
      error: function (xhr) {
          alert(xhr.status);
      },
      Failure: function (response) {
          alert(response);
      }
  });
  </code></pre>
  
  <p>I want date in mm/dd/yyyy format. Please help me to solve my prob.</p>