Quote:
Originally Posted by mab
Edit: Here is some code I just did for someone where the difference between two HH:MM were calculated -
|
Thanks, mab, I'll try this and see if I can get t to work- the one problem I'm running into (well, one of the problems, lol) is that either time can be larger or smaller...that is, the times could be like this, shown in time in hours and minutes:
50:35 (50 hours, 35 minutes scheduled time)
42:29 (42 hours, 29 minutes actual time)
Or they could be like this
47:16 (47 hours, 16 minutes scheduled time)
59:24 (59 hours, 24 minutes actual time)
The number are a count of the hours and minutes they were scheduled for and what they actually got, and the number they got can be more or less than they were scheduled to receive. (For example, they could be scheduled for 5 hours and only get 2 1/2, or they could be scheduled for 5 hours and actually get 12.)
So, I need to be able to find the difference, and whether it was positive or negative (did they more or less actual time than was scheduled).
I'll try this and see if I can get t to work.