def mins_between(from_dt, to_dt):
	"""
	Computes the minutes between from and to datetime objects
	Returns None if either is undefined
	"""
	if from_dt and to_dt:
		return (to_dt - from_dt).total_seconds() / 60.0
	else:
		return None