title: Trying to use jQuery Countdown with UNIX timestamp from php
body: <p>As the title says I'm facing a problem displaying the right left time to an end date.</p>
  
  <p>I'm using this jquery plugin: <a href="http://keith-wood.name/countdown.html" rel="nofollow">http://keith-wood.name/countdown.html</a></p>
  
  <p>Let's assume that our timestamp is generated by a PHP script like this: <code>$end_date = strtotime($row4['end']); // 2012-05-09 06:00:00 becomes 1336536000</code></p>
  
  <p>I use this (<code>$i</code> is used inside a loop):</p>
  
  <pre><code>$('.count-&lt;?php echo $i; ?&gt;').countdown({until: new Date(&lt;?php echo $end_date; ?&gt; * 1000), layout: '{dn} days {hnn} hrs {mnn} min {snn} sec', compact: true});
  </code></pre>
  
  <p>Right now it's 06:21 AM here. Instead of the expected 1 day left result I get "1 days 17 hrs 04 min 21 sec".</p>
  
  <p>What am I missing here?</p>