code: def convert_timestamp_to_epoch(cls, timestamp, tsformat):
          
          return time.mktime(time.strptime(timestamp, tsformat))
docs: Converts the given timestamp into a float representing UNIX-epochs.
  
          :param string timestamp: Timestamp in the defined format.
          :param string tsformat:    Format of the given timestamp. This is used to convert the
              timestamp into UNIX epochs. For valid examples take a look into
              the :py:func:`time.strptime` documentation.
  
  
          :return:    Returns an float, representing the UNIX-epochs for the given timestamp.
          :rtype: float