would be helpful to see some example data - what are you actually entering? a string saying '9 hours (1 Day and 1 hour)' or two separate columns for the hours - i.e. 9, 23, something else? or perhaps a start time and task time
task.... startDateTime...............timeTaken
A..........21/1/2023 08:00:00.....09:00:00
B..........22/1/2023 09:00:00.....15:00:00 - delay difference between the two startDateTimes