Hi guys,
I am looking for a standard function module for the following task:
I need to calculate the time difference between two timestamps. So far so easy.
The problem is, that I need to take working hours into account. So instead of just calculating the time difference I need the time difference in working hours.
Say working hours are from 9 to 5 and the first timestamp would be 10 am today and the second would be 10 am tomorrow, than the result I am looking for is not 24 hours but instead 8 hours, which would be the total of working hours between those two timestamps.
Any hints are very much appreciated.
Many thanks in advance,
Tobias