That doesn't tell me the data type. Preview the report, right click on the value and select "Browse Field Value". At the top of the window it will probably say either DateTime or Character.
This is a separate field from the data, right? Ken Hamady
First if you multiply the full days by the number of minutes in each work day to get the a base number.
Then, you have to adjust for the first and last day based on the two times. Split the time fields into hours and minutes and then convert to a single minutes elapsed value. This allows you to calculate the elapsed time from the start of the workday on the first and last day. These elapsed times can be used to adjust the total from the full days above.
To convert the hours to minutes you use:
Val({time} 1 to 2 ) *60
Extracing the minutes is:
Val({time} 4 to 5 )
When you are done and have a net minutes, you can convert back to an hours/minutes value Ken Hamady
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.