Sum of total hours remaining

Display a countdown calculating all remaining hours to the final date.

Open till ...
HTML:
<div id="clock"></div>
JS:
$('#clock').countdown("2020/10/10", function(event) {
  var totalHours = event.offset.totalDays * 24 + event.offset.hours;
  $(this).html(event.strftime(totalHours + ' hr %M min %S sec'));
});
Fork me on GitHub