Hello,
If I have a start date/time, and an end date/time, how would I calculate how long a task is taken to complete (in days), if I only account for workdays and working shift between 6am - 6pm?
Examples below:
Data obtained 15/7/2023 20:59
Work completed 17/7/2023 15:50
So work in undertaken on 16/7 6am - 6pm (12 hours) + 17/7 6am - 3.50pm (9.83 hours).
Result should = 21 hours 50 minutes = 21.83 hours = 1.82 days
Data obtained 15/6/2024 18:13
Work completed 17/6/2024 12:16
So work is undertaken on 17/6 6am - 12.16pm (15/6 and 16/6 are on weekend).
Result should = 6 hours 16 minutes = 6.27 hours = 0.52 days.
Thank you
If I have a start date/time, and an end date/time, how would I calculate how long a task is taken to complete (in days), if I only account for workdays and working shift between 6am - 6pm?
Examples below:
Data obtained 15/7/2023 20:59
Work completed 17/7/2023 15:50
So work in undertaken on 16/7 6am - 6pm (12 hours) + 17/7 6am - 3.50pm (9.83 hours).
Result should = 21 hours 50 minutes = 21.83 hours = 1.82 days
Data obtained 15/6/2024 18:13
Work completed 17/6/2024 12:16
So work is undertaken on 17/6 6am - 12.16pm (15/6 and 16/6 are on weekend).
Result should = 6 hours 16 minutes = 6.27 hours = 0.52 days.
Thank you