Re: Convert time
| From: | HKG) | Date: | Mon, 16 Feb 2004 17:01:30 +0000 |
| Subject: | Re: Convert time | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22851@lists.php.net to get a copy of this message | ||
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....