def get_time_in_min(timestamp):
    """
    Takes a timestamp, for example 12:00 and splits it, then converts it into minutes.
    """

    hours, minutes = timestamp.split(":")
    total_minutes = int(hours)*60+int(minutes)
    return total_minutes