def absolute_time(t_string):
    """Changes 24-hour time string 'hh:mm:ss' to float mins since midnight."""

    num = [float(n) for n in t_string.split(':')]

    return 60*num[0] + num[1] + (num[2]/60)