Re[2]: Convert time

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

 



Hello B.A.T.,

Monday, February 16, 2004, 8:01:30 PM, you wrote:

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

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

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


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

Maybe $sec = min % 60 ;) ?

-- 
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