def METHOD_NAME(self, slurmTime):
    """Convert SLURM time format into seconds
    According to the SLURM documentation, the format can be:
    - MM:SS
    - HH:MM:SS
    - DD-HH:MM:SS
    :param str slurmTime: time in SLURM format
    """
    slurmTimeList = slurmTime.split("-")
    try:
        # If slurmTime limit does not contain days
        if len(slurmTimeList) == 1:
            day = 0
            timeLeft = slurmTimeList[0]
        # Else
        elif len(slurmTimeList) == 2:
            day, timeLeft = slurmTimeList
        else:
            self.log.warn(f'Problem parsing "{slurmTime}"')
            return None
        timeLeftList = timeLeft.split(":")
        if len(timeLeftList) == 2:
            hours = 0
            minutes, seconds = timeLeftList
        elif len(timeLeftList) == 3:
            hours, minutes, seconds = timeLeftList
        else:
            self.log.warn(f'Problem parsing "{slurmTime}"')
            return None
        return ((int(day) * 24 + int(hours)) * 60 + int(minutes)) * 60 + float(seconds)
    except ValueError:
        self.log.warn(f'Problem parsing "{slurmTime}"')
        return None