I need a countdown timer that restarts countdown at set timepoints

I’m not sure if this is even possible?!…

I am looking for a countdown timer that can restart countdown based on certain inputted days/times.

Use: Website for a fitness coach who has various classes running through the week. I want a timer that is prepended with “next class”, so that there’s always a timer visible counting down to the next class. Obviously I need to set up the class days/times so that the timer is counting down based on the class timetable.

Thanks in advance

Hi Matt,

if i’m right you may solve this using a countdown element.

Option 1
use the countdown element and set the end date manually for each course (but takes a lot of effort due to frequently changes – so obviously no good solution)

Option 2
use countdown element and set end date for each course dynamically.
how are the courses stored (e.g. custom post type, Advanced Custom Fields)?

Hi Lars,

Thanks for taking the time to respond.

In the end I managed to solve this nicely, using JS and a little help from ChatGPT. FYI the native timer function does not have the feature built in.

Thanks, Matt