>*Assuming it did not cross a midnight** boundary. (I guess if difference is >negative, add 86400*10^6. Repeat until not negative.)
"...Repeat until not negative"? Since it is time since midnight, it will not cumulate over more than one day. In other words, it will become positive after first addition no matter how many midnights have passed. If you cannot guarantee the difference between to values is always less than 24 hours, you must have the corresponding date as well to do the calculation right. -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
