title: Why is Time.strptime() returning the current date?
body: <p>Making a GET request to a private (no public documentation) API returns data in JSON format.</p>
  
  <p>The value im interested in is the date. It returns the date in ASP.NET JSON Date format. Here's what it looks like:</p>
  
  <pre><code>AanmeldDatum: "/Date(1406675114000+0200)/"
  </code></pre>
  
  <p>There's another variable called AangebodenSindsTekst which means OfferedSinceText and it's value is "8 augustus 2014". So the unknown Date format should get parsed into that specific value.</p>
  
  <p>I've tried this:</p>
  
  <pre><code>require 'time'
  
  foo = Time.strptime('1406675114000+0200', '%N') # =&gt; 2014-08-12 13:38:46 +0200
  foo = Time.strptime('1406675114000+0200', '%N%z') # =&gt; 2014-08-12 14:38:58 +0200
  </code></pre>
  
  <p>But it simply returns the current time.</p>
  
  <p>I know 100% sure that <code>/Date(1406675114000+0200)/</code> when parsed, should return the date <code>2014-07-30</code>.</p>
  
  <p>The question is how do I make sure it does?</p>