$(function(e) { "use strict"; var myDate = new Date(); myDate.setDate(myDate.getDate() + 2); $("#countdown").countdown(myDate, function (event) { $(this).html( event.strftime( '
%D
days
%H
hrs
%M
mins
%S
sec
' ) ); }); });