I am trying to add time. If my seconds or minutes go over 60 how can i find the number of minutes or hours.
I am doing something like this
if ($totsec>60)
{
$min=$totsec/60;
$sec=$totsec-$min*60;
}
but i get results in 1.233333333.
I need integers
Please help
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
