hi,
this code you send it to me works,
but i need when i subtract time1=4:00:am from time2 =4:00:am, i need result as 24:00
set hour to 24
STORE TTOC(CTOT(thisform.text2.value)- CTOT(thisform.text1.value)+{^2000/01/01:},2) to tResult&&Thisform.text3.value
? tResult
wait
Thisform.text3.value = SUBSTR(tResult,1,5)
Z = Thisform.text3.value
STORE SUBSTR(z,1,2) TO thour
STORE SUBSTR(z,4,2) TO tMinute
nTime= tHour+"."+tMinute
VAL(nTime)
Thisform.text3.value = VAL(nTIME)
thisform.text6.value=thisform.text5.value*VAL(nTIME)