2009/3/30 Andrew Williams <andrew4willi...@gmail.com>:
> what does time();
> $t1 = time();
> do something
> $t2 = time();
> $end_time = $t2 - $t1;
> echo $end_time;
> what does $end_time represent?
The number of seconds it took to "do something".
> how do you determine the next 5 mins?
Assuming you mean "what will time() return in 5 minutes time?"...
$five_minutes_time = time() + 300; // 300 seconds in 5 minutes
If you mean something else please try rephrasing the question.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php