def add_time_to_time(time1, time2, result_format='number', exclude_millis=False):
 time = (Time(time1) + Time(time2))
 return time.convert(result_format, millis=is_falsy(exclude_millis))

def add_time_to_time ( time1 , time2 , result_format = 'number' , exclude_millis = False ) : time = ( Time ( time1 ) + Time ( time2 ) ) return time . convert ( result_format , millis = is_falsy ( exclude_millis ) )
adds time to another time and returns the resulting time .