spottednewt
Programmer
I need to find the number of hours in a range of time. I then need to add the hours to get the total hours for each person.
Right now I have [endtime] - [starttime] which gives me the range of hours in hours and minutes, like 4:30 for 4 hours and 30 minutes. My problem is that I can't add the ranges together to come up with totals. Something's goofy. I suspect that since it is really a time field that it starts over once it reaches 24 hours. So for a whole list of hours I get something like 12:00. Is there a way to convert the record result ([endtime]-[starttime]) to a number that is not time related so I can get an accurate total? Thanks!
Right now I have [endtime] - [starttime] which gives me the range of hours in hours and minutes, like 4:30 for 4 hours and 30 minutes. My problem is that I can't add the ranges together to come up with totals. Something's goofy. I suspect that since it is really a time field that it starts over once it reaches 24 hours. So for a whole list of hours I get something like 12:00. Is there a way to convert the record result ([endtime]-[starttime]) to a number that is not time related so I can get an accurate total? Thanks!