code: def convert_tstamp(response):
  	
  	if response is None:
  		# Allow passing None to convert_tstamp()
  		return response
  
  	# Overrides the set timezone to UTC - I think...
  	tz = timezone.utc if settings.USE_TZ else None
  
  	return datetime.datetime.fromtimestamp(response, tz)
docs: Convert a Stripe API timestamp response (unix epoch) to a native datetime.
  
  	:rtype: datetime