jQuery.countdown icon indicating copy to clipboard operation
jQuery.countdown copied to clipboard

How to restart countdown every 3 days?

Open bpgusar1 opened this issue 8 years ago • 1 comments

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.

bpgusar1 avatar May 31 '18 07:05 bpgusar1

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

gardelin avatar Aug 27 '19 09:08 gardelin