I
I
Ivan Budakov2019-08-05 16:43:27
MySQL
Ivan Budakov, 2019-08-05 16:43:27

What is the best way to implement the function of decreasing days with an interval of 1 day (Cron/MySQL Events)?

Which implementation will be more competent, there are ads in the database, when adding them, they are assigned `days` = 30.
It is necessary to reduce the days by 1 daily, in what way is it better to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vista1x, 2019-08-05
@vista1x

Maybe store the placement end date in the database right away?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question