U
U
unlik2016-03-30 18:02:22
PHP
unlik, 2016-03-30 18:02:22

Timer until variable changed?

Who knows how to make a timer that will count down the time until the variable changes?
The variable is incremented every 3 days by the same number. On the 1st of each month, the variable is reset to its initial value and starts incrementing again.
I've already broken my head

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
O. J, 2016-03-30
@OrlovEvgeny

you store in basis value of a variable, and date of the following change. On the
backend, you get the variable itself, the date of the next change, and the current time of the server .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question