code: def _compute_timestamp(stupid_cisco_output):
          
          if not stupid_cisco_output or stupid_cisco_output == "never":
              return -1.0
  
          if "(s)" in stupid_cisco_output:
              pass
          elif ":" in stupid_cisco_output:
              stupid_cisco_output = stupid_cisco_output.replace(":", "hour(s) ", 1)
              stupid_cisco_output = stupid_cisco_output.replace(":", "minute(s) ", 1)
              stupid_cisco_output += "second(s)"
          else:
              stupid_cisco_output = stupid_cisco_output.replace("d", "day(s) ")
              stupid_cisco_output = stupid_cisco_output.replace("h", "hour(s)")
  
          things = {
              "second(s)": {"weight": 1},
              "minute(s)": {"weight": 60},
              "hour(s)": {"weight": 3600},
              "day(s)": {"weight": 24 * 3600},
              "week(s)": {"weight": 7 * 24 * 3600},
              "year(s)": {"weight": 365.25 * 24 * 3600},
          }
  
          things_keys = things.keys()
          for part in stupid_cisco_output.split():
              for key in things_keys:
                  if key in part:
                      things[key]["count"] = napalm.base.helpers.convert(
                          int, part.replace(key, ""), 0
                      )
  
          delta = sum(
              [det.get("count", 0) * det.get("weight") for det in things.values()]
          )
          return time.time() - delta
docs: Some fields such `uptime` are returned as: 23week(s) 3day(s)
          This method will determine the epoch of the event.
          e.g.: 23week(s) 3day(s) -> 1462248287