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

time calculation

Zoolian
Registered: Sep 6 2007
Posts: 2

I'm trying to create a timesheet that will calculate between a start and stop times, and convert the difference into hours worked. The calculation works if I use number fields, but anytime I use a time format (like 9:00 to 5:00) the calculation displays zero for a result. Any help here would be greatly appreciated.
 
Thanks - Bob

My Product Information:
LiveCycle Designer, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Hi zoolian,

Check out Thom Parker's article on date and time calculations at:
[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 this helps,
Lori

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.