Changing time


#1

Hi everyone,
I am trying to create a database where specific records would be deleted automatically after certain period of time:
i.e. record created July 23,
to be deleted in 30 days-- August 22.

So i started with basic 8) :
Is there anyway i can add those 30 days to the $time or date();
Or am i digging in a completely wrong direction and there is some special function to delete records in a while?
Appreciate any help.
Thanks.


#2

Have you looked at mktime?


#3

TO: lig

:o (i just love this icon)