How can I find the difference between today's date and a future date, eg:2014/12/31
, in JQuery so that I can display the days, hours, minutes and seconds left per second in HTML classed div tags?
The HTML would look like this:
<div id="hours">00</div>
<div id="days">00</div>
<div id="minutes">00</div>
<div id="seconds">00</div>
Like a countdown timer.