1
Hi i'm trying to make a function to set an expire date for an article. What i want to do is look at the db and take an integer. 30 for example (this will be the number of days that this article will be online since the date it was created).
how can i add this value to the date submitted in order to make the expiration date and store it in the db?
i store the submission date in the db calling the function time().
Is there a way to add a number of days to this function and get the future expiration date? thanks.