def add_duration_to_login_time(startTime_endTime_tuple):
    """
    Derive duration from a login/logout time tuple ...
    :param startTime_endTime_tuple:
    :return:
    """
    return abs(startTime_endTime_tuple[0].float_timestamp -
        startTime_endTime_tuple[1].float_timestamp)
