Check out Sys(2). It converts a time string "10:31:20" into a integer 37880 that represents the number of seconds since midnight. You can then do math on the 2 values.
So You Will need 4 data entry blocks
Hr1, Mn1
Hr2, Mn2
start = sys(2, alltrim(hr1) + ":" +alltrim(Mn1))
finish = sys(2, alltrim(hr2) + ":" + alltrim(Mn2))
Clock Time = finish - start
This gives you the number of seconds on the clock,
All You have to do then is divide by 360 to get the hours.
Divid the remainder by 60 to get the number of minutes.
the remainder of that is the number of seconds.
David W. Grewe
Dave@internationalbid.com