This one's a slightly tricky one (to me at least):
I've got two time stamps and I should calculate the difference between in hours. In theory that's not that hard at all but what makes it tricky is they usually have different dates and I should only count the hours from the working days (excluding weekends & holidays). The networkdays-function helps a lot but causes a lot of problems as well because it seems to count each working day as a full date.
I believe I can solve this myself but the end result is not going to be pretty nor straight forward. I bet there must be a simpler solution to this problem but I just can't figure it out.
The time calculation always starts at noon two workdays after the actual time stamp and ends whenever the next time stamp is. If the end time stamp happens to be before the first one the difference is supposed to be minus hours.
I've got two time stamps and I should calculate the difference between in hours. In theory that's not that hard at all but what makes it tricky is they usually have different dates and I should only count the hours from the working days (excluding weekends & holidays). The networkdays-function helps a lot but causes a lot of problems as well because it seems to count each working day as a full date.
I believe I can solve this myself but the end result is not going to be pretty nor straight forward. I bet there must be a simpler solution to this problem but I just can't figure it out.
The time calculation always starts at noon two workdays after the actual time stamp and ends whenever the next time stamp is. If the end time stamp happens to be before the first one the difference is supposed to be minus hours.