(datetime_obj)
return (
      int(calendar.timegm(datetime_obj.timetuple()) * 1000) +
      datetime_obj.microsecond / 1000)
Returns time since the epoch in ms for the given UTC datetime object.
Returns time since the epoch in ms for the given UTC datetime object.
Returns time since the epoch in ms for the given UTC datetime object .
def _timestamp_ms_for_datetime(datetime_obj):
  """Returns time since the epoch in ms for the given UTC datetime object."""
  return (
      int(calendar.timegm(datetime_obj.timetuple()) * 1000) +
      datetime_obj.microsecond / 1000)
def _timestamp_ms_for_datetime ( datetime_obj ) : return ( int ( calendar . timegm ( datetime_obj . timetuple ( ) ) * 1000 ) + datetime_obj . microsecond / 1000 )