Is there a way to calculate the difference between a start time and a stop time for a timesheet and have the form display the correct hours worked. Example: a office worker enters a start time of 6am and a stop time of 4pm, which would equal 10 hours of work. I'm looking for a way to display the correct time format and yet provide the correct calculated result of hours worked. Please any help would be greatly appreciated.
There is a series of articles on working with dates and time in Acrobat at JavaScript Corner. I don't know if there is an exact example of what you want to do, but this is good reading for anyone using dates and time in Acrobat. Here is a link to the first one, which has links to the rest of the series-
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/[/url]
Hope that helps,
Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]
Dimitri Munkirs
WindJack Solutions
pdfscripting.com