title: Convert unix timestamp to javascript date Object
body: <p>Am working with json api that represents dates like this </p>
  
  <pre><code>"date" : "/Date(1356081900000)/"
  </code></pre>
  
  <p>I want to turn this into regular javascript Date.</p>
  
  <p>The only way I can think of solving this problem is to do a replace on everything leaving the timestamp which I can then "convert".</p>
  
  <p>This works but it just looks wrong.</p>
  
  <p>My question. Can I do this in better way?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <pre><code> unix_timestamp = jsonDate.replace('/Date(', '').replace(')/', '');
  
   newDate = new Date(+unix_timestamp + 1000*3600);
  </code></pre>