I'm developing a web site project and I'm having trouble creating a "timer".
I need it to work as follows:
-
The user reloads the credit (EX: 4 reais = 2 hours);
-
The available times are: 1,2,3 hours;
-
After reloading, the user goes on another page and presses a button that makes the timer start, counting the seconds subtracting.
There are some ready counters like Countdown Timer, but it only works by putting a future date (EX: Nov 5, 2017 15:37:25) which does not answer me, since I need fixed values.