15 minutes = 15 * 60 seconds.  Therefore just add 900 to the field.

> -----Original Message-----
> From: Lerp [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 11:15 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Time Question
> 
> 
> 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?
> 
> Thx Joe :)
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to