title: Convert Json date to java date
body: <p>My json respons contains a <strong>CreatedOn</strong> Date:</p>
  
  <pre><code>{
  "CreatedOn" : "\/Date(1406192939581)\/"
  }
  </code></pre>
  
  <p>I need to convert <strong>CreatedOn</strong> to a simple date format and <strong>count the days of difference from CreatedOn Date to Present Date.</strong> </p>
  
  <p>When I debug the below code string <strong>CreatedOn</strong> showing a null value. How come?</p>
  
  <pre><code>JSONObject store = new JSONObject(response);
  
  if (response.contains("CreatedOn"))
  {
      String CreatedOn = store.getString("CreatedOn");
  }   
  </code></pre>