Basic coupon site

This is the most common case to use the script, that mimic the countdown style in coupon sites like Groupon. Format the output with %D days %H:%M:%S.

Limited Time Only!
HTML:
<span id="clock"></span>
JS:
$('#clock').countdown('2020/10/10', function(event) {
  $(this).html(event.strftime('%D days %H:%M:%S'));
});
Fork me on GitHub