if your input is a number of seconds why not just treat it as a unix
timestamp so ...
echo date("H:i:s", $num_seconds)
... will work.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
> -----Original Message-----
> From: Yoshi Melrose [mailto:[EMAIL PROTECTED]]
> Sent: 19 March 2001 22:09
> To: [EMAIL PROTECTED]
> Subject: Script to convert # of seconds to HH:mm
>
>
> Can someone direct me or send me a script that will convert number of
> seconds into a format readable as HH:mm? I've tried making it
> myself, but it
> gets all messed up in the calculations. Thanks!!!!
>
> Yoshi
>
>
--
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]