Skip to Content
0
Former Member
May 06, 2008 at 11:27 AM

Time - Subtraction

33 Views

Hi All,

In my VC Application, there are 2 input fields. When an user enter value in the first input field, the time "T1" would be captured. Similarly, when user enters value in the second input field, that time "T2" would be captured.

T1 - 16:48:20

T2 - 16:50:25

In the third input field, i am calculating the difference of the 2 times and displaying the time as T3 = T1 - T2

IF(STORE@a=="1",#ID[ACA8Y9]@T1 - #ID[ACA8XV]@T2,"Null")

But though there is a time difference of 5 minutes between T1 and T2. I am getting T3 = 0.00

Why is it so? Is there any mistake in the expression. For every time difference, it is giving me the same time? Can any one please help me in resolving this issue?

Thanx and Regards,

Divya