DateTime types are stored as Doubles, where the Integer part is the days since Dec 30th 1899 and the fractional part is the fraction of a day since midnight.
[tt]myTime - Int(myTime)[/tt]
gives the fractional part of each value. Add these to get a total. Then
[tt]Int(myTotal) [/tt]
gives the days in the total and
[tt]Format(myTotal,"hh:mm:ss") [/tt]
will give the hours, minutes and seconds in your total.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'