Page 1 of 1

Using (DATE) timestamp to expire/delete entries

Posted: Fri Jun 13, 2003 3:16 pm
by polosport6699
I was wondering how to use the date function to make a entry expire after x amount of days.

This needs to be specific to each entry.

Im greatly thankful for any help

Posted: Fri Jun 13, 2003 4:23 pm
by cactus
See: XVII. Date and Time functions - time()

Code: Select all

$futureTime = time()+300; // Current unix timet + 5 mins
Regards,