Added method to get hours and minutes from time interval