def get_double_period(time1, time2):
	"""
	This method concatenates two different time strings 
	and returns a single time interval string
	The order of the paramters does not matter.
	Example: get_double_period("08am-09am", "09am-10am") returns "08am-10am"
					 get_double_period("09am-10am", "08am-09am") returns "08am-09am"
	"""
	if int(time1[:2]) < int(time2[:2]):
		t1 = time1
		t2 = time2
	else:
		t1 = time2
		t2 = time1

	t1 = time1.split('-')
	t2 = time2.split('-')
	new_time = t1[0] + '-' + t2[1]

	return new_time