> You can do something like this: > <?php > $seconds = 265; > $time = date('i s',$seconds); > $minSecs = explode(' ',$time); > echo "{$minSecs[0]} minutes and {$minSecs[1]} seconds<br>\n"; > ?>
That doesn't work for anything over 3599 seconds, though... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php