I thought about that when I first started, but then went looking to see if
using "\" would return the value without the decimal part.  Not good when
you start confusing VB and PHP and it makes you mess up your code.
--
phill

> This way you don't risk rounding up on your first cast to int and being
off
> by an hour... rounding is ok, however, for minutes since that is your most
> granular interval.
>
> -jm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to