def mmss_to_secs(strtime):
    """
    Converts time from mm:ss to seconds

    :param strtime: str, mm:ss

    :return: int
    """
    mins, sec = strtime.split(':')
    return 60 * int(mins) + int(sec)