def returnSeconds(initTime,endTime):

	"""
	Returns seconds with very small time periods
	Requires two datetimes
	"""
	duration = endTime - initTime
	seconds = duration.seconds
	microSeconds = duration.microseconds
	return seconds + 1e-6*microSeconds