def to_secs(_time=""):
    """ Receives a string in a form of XY: ZW: AB, representing the time
    XY : hours
    ZW : minutes
    AB : seconds
    :returns: The number of seconds in the time received
    :rtype: int
    """
    _time = _time.split(':')
    hours, minutes, seconds = _time
    hours = int(hours)
    minutes = int(minutes)
    seconds = int(seconds)
    return hours * 3600 + minutes * 60 + seconds