dhms_to_hours function

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