hilios / jQuery.countdown

The Final Countdown plugin for jQuery
http://hilios.github.io/jQuery.countdown/
MIT License
2.3k stars 720 forks source link

How to restart countdown every 3 days? #302

Open bpgusar1 opened 6 years ago

bpgusar1 commented 6 years ago

How to restart countdown every 3 days? For example i set 05.31.2018 like a start date, and how do i make it restart every 3 days? And after page reload countdown should continue to count and not dump.

gardelin commented 4 years ago

On "finish.countdown" event update instance with new date. In you case next 3 days would be new Date().setDate(new Date().getDate() + 3