adds working degree difference function for hour and minutes