title: Subtract variable from date in jquery (countdown style)
body: <p>How can I find the difference between today's date and a future date, eg:<code>2014/12/31</code>, in JQuery so that I can display the days, hours, minutes and seconds left <strong>per second</strong> in HTML classed div tags?</p>
  
  <p>The HTML would look like this:</p>
  
  <pre><code>&lt;div id="hours"&gt;00&lt;/div&gt;
  &lt;div id="days"&gt;00&lt;/div&gt;
  &lt;div id="minutes"&gt;00&lt;/div&gt;
  &lt;div id="seconds"&gt;00&lt;/div&gt;
  </code></pre>
  
  <p>Like a countdown timer.</p>