I'm trying to use CF to calculate and output a future expiration date based on a current start date plus 1 month, 2 months, 3 months, etc. for a job listing site. Then I want to be able to disable a listing once this future expiration date has been reached.
I have been manually adding the expiration date and checking the listings that have expired and remove them daily. I know that it's probably pretty easily done in CF, but I have not been able to figure it out. The only thing I have been able to do is output the current date using...
#DateFormat(Now(),'ddd mmm dd, yyyy')#
Can anyone please assist me?
I have been manually adding the expiration date and checking the listings that have expired and remove them daily. I know that it's probably pretty easily done in CF, but I have not been able to figure it out. The only thing I have been able to do is output the current date using...
#DateFormat(Now(),'ddd mmm dd, yyyy')#
Can anyone please assist me?