I am only recently got the live cycle designer version 8.2 and tying to create a Timesheet for my staff.
I want to calculate the no. of hours after the end user inputs the Start Time and the End Time. And Finally the sum up the whole Thing to know total daily hours and ultimately weekly hours.
I tried Doing the following
My First Field is " From " where the enduser needs to input the Start time of the job
My Second Field is " To " where the enduser needs to input the end time of the job
My Third Field is " Total " where the difference between the start time and end time is calcuated and displayed in HOURS and MINUTES i.e. HH:MM.
From various different post I wrote the following code in the " Total " which is also a date/time field.
(Time2Num(To,"H:MM") - Time2Num(From,"H:MM"))/(3600000) but some how it calculates only integral hours i.e. it shows difference between 12.00 and 13.00 as 1
But
doesn't give difference between say 12.34 and 16.54 as 4.20.
Please help and it is quite urgent.
Thank in advance.
George Kaiser