Creating a timer for the time-based PM task

Have a look at my PM Time online demo to see if it does what you want.