So, on my form, I want two fields:
1) Incident Start Date and Time
2) Incident End Date and Time
Then, when the user enters in the information and clicks a "Calculate Elapsed Time" button, I want a 3rd field to populate with the elapsed time between the two Date and Times from the 1st and 2nd field.
I need help with all of this... how do I even start? I have made an input mask for the 1st and 2nd field of 00/00/0000 00:00 (so it would come out as something like 12/24/2010 15:34). It works when I go from design view to form view to try it, then when I click somewhere else it shows the output as 12/24/2010 3:34:00 PM.
That's all fine. But how do I calculate the difference so that the 3rd field shows something like "2 days, 3 hours, 48 minutes, 3 seconds".... or total hours like "67 hr, 48 min, 2 sec"... I don't really care right now what the output looks like in that 3rd field, I just want some sort of difference calculation.
Please help, many thanks!!!