I have an Excel time card setup currently that I would like to make into a PDF form. The total hour for each day are calculated then added up for the week. The daily calculation looks like this in Excel =MROUND(((E20-D20)+(G20-F20)+(I20-H20))*24,0.25). Each of the values is the in and out times for the day.
How would I go about doing this calculation in a form?
Have you read the 3 part series by Thom Parker on date calculations in Acrobat?
If you are using LiveCycle Designer, there is information in the "Scripting Reference" under 'Help".
Both products use the number o milliseconds from a fixed Epoch date, so once you get the time string converted to a number, you just need to do the math. You will need to write your own MROUND function because neither Acrobat nor LiveCycle Designer have that function built in.
George Kaiser