code: def parse_datetime_to_epoch(datestamp, magnitude=1.0):
      
      parsed_datetime = parse_lms_api_datetime(datestamp)
      time_since_epoch = parsed_datetime - UNIX_EPOCH
      return int(time_since_epoch.total_seconds() * magnitude)
docs: Convert an ISO-8601 datetime string to a Unix epoch timestamp in some magnitude.
  
      By default, returns seconds.