Re: Time Question
| From: | DL Neil | Date: | Tue, 05 Mar 2002 19:29:34 +0000 |
| Subject: | Re: Time Question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17486@lists.php.net to get a copy of this message | ||
Joe,
> Hi there, I have a field in my db called expires and it holds a value
for
> the last time somebody visited my site such as 1015354119 .
>
> How would I add 15 minutes onto this? Would I use the mktime() and do
it
> that way, or there a better way to do this?
Use a SQL function (quicker, less coding) - if your DBMS provides.
Regards,
=dn