def time_in_HMS(begin, finish):
    """ Calculate time difference between begin and finish.

    Args:
        begin (float): time at start
        finish (float): time at finish

    Returns:
        tuple: differences between begin and finish:
            raw difference, hours, minutes and seconds
    """
    raw = finish - begin
    hours = round(raw // 3600)
    minutes = round((raw % 3600) // 60)
    seconds = round((raw % 3600) % 60)
    return raw, hours, minutes, seconds