1) && (SubStr($new_secs_string, 0, 1) == "0")) $new_secs_string = SubStr($new_secs_string, 1); while ((strlen($old_secs_string) > 1) && (SubStr($old_secs_string, 0, 1) == "0")) $old_secs_string = SubStr($old_secs_string, 1); //Use the BCMATH library to get the difference. $diff_string = bcadd($new_secs_string, "-" . $old_secs_string); //Floor and ceiling the result. if (bccomp($diff_string, "-268535455") == -1) $diff_string = -268535455; else if (bccomp($diff_string, "268535455") == 1) $diff_string = 268535455; return((int) $diff_string); } // //-------------------------------------------------------------------------------- //End of $RCSfile: utime.inc,v $. //-------------------------------------------------------------------------------- ?>