title: Differences in Javascript date in XP and OSX
body: <pre><code>var d = new Date();
  var date = d.getTime();
  var age = Math.floor(date/1000 - time);
  </code></pre>
  
  <p><code>time</code> is just a UNIX timestap like <code>1434168603</code> retrieved from a table.</p>
  
  <p>If I <code>console.log(time)</code>, both numbers are equal on XP and Mac OSX (Chrome). However if I <code>console.log(date/1000)</code>, for example one is <code>1433914098</code> (rounded) on XP but <code>1434168768</code> (rounded) on OSX, leading to incorrect submission time on XP. On OSX it's correct.</p>
  
  <p>What is causing this?</p>