Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total Time Taken

Status
Not open for further replies.

zircom

IS-IT--Management
Mar 12, 2001
31
GB
I have a string field hh:mm which I want to calculate total time taken (total hours spent travelling during workind day)for each member of a workforce
 
I would convert the each string value into minutes then subtract to get the result;

@calcMinutes

WhilePrintingRecords;
numberVar totalMinutes;

totalMinutes := tonumber(left({table.timevalue},2) * 60 +
tonumber(right({table.timevalue},2)
totalMinutes;
Jim

JimBroadbent@Hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top