Re: Convert time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-02-16 at 17:46, Svensson, B.A.T. (HKG) wrote:

> Example:
> 
> $min = (int)($sec/60);
> $min = $sec % 60;
> 

Jesus.... "$min = $sec % 60 60;" should be "$sec = $sec % 60;" ....


I'll have a lot of funny bugs to behold in my code tomorrow....

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux