well you could divide the date in sections like
Code:
hours = left$(time,2)
minutes = mid$(time,3,1)
seconds = right$(time,2)
then just subtract that from the beginning time by doing the same.you'ld probably have to use 24 hour time though or you could possibly use 12 hour time with am and pm just use:
Code:
if right$(time$,2) = "PM" then
hourstot = left$(time$,2)
hours = val(hourstot) + 12
else
hours = val(left$(time$,2))
end if
that should work i wrote it without testing so it should work!
good luck!
------------------
DiGiTaIErRoR
[This message has been edited by DiGiTaIErRoR (edited 11-20-1999).]