jQuery timeTo Plugin Demo

Countdown timer

Set delay in seconds

$('#countdown').timeTo(100, function(){ alert('Countdown finished'); }); 

Set delay to specyfied datetime

$('#countdown').timeTo(new Date('')); 

Set captions and dark theme

$('#countdown').timeTo({
    timeTo: new Date(new Date('')),
    theme: "black",
    displayCaptions: true,
    fontSize: 48,
    captionSize: 14
}); 

 

Digital clock

$('#clock-1').timeTo();