helper function to convert a dhms string to the number of hours for combining similar job times
Useful links