These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Development

oneway78332
Registered: Apr 23 2007
Posts: 2

I am using Adobe LiveCycle Indesign. I am trying to create a daily timesheet that will calculate hours worked by entering them in 60ths of a second (7:30 a.m. to 12:00 p.m.). I want the total to reflect 100ths of a second (4.50 hours). Is there a formula that will do this in FormCalc? or will it be in Javascript?

My Product Information:
Acrobat Pro 7.0.9, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The easiest way to do this is with JavaScript. Look at this series of articles.

[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]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script