You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@grafikkaos
Hi Emmanuel! The jQuery timer plugin does not have a readymade feature to display a digital clock, though you can get hold of the current time in seconds and initialize the timer from that time, like this:
var d = new Date();
var todayInSeconds = d.getSeconds() + (60 * d.getMinutes()) + (60 * 60 * d.getHours());
$('#timerDiv').timer({
seconds: todayInSeconds
});
Is there a quick way of using this plugin to display a clock showing the current time?
Thanks
The text was updated successfully, but these errors were encountered: