def timeUnits(aSomeAry):
	"""Get the units from an array of timedelta or datetime objects."""
	s = str(aSomeAry.dtype)
	
	# This is cheezy, but I can't find a way around it
	if s.find('[') > -1:
		return s[s.find('[')+ 1 : s.rfind(']')]  
	else:
		return None