Quat.Difference

static Quat Difference(Quat a, Quat b)

   
Quat a Starting rotation.
Quat b Ending rotation.
RETURNS: Quat A rotation that will take a point from rotation a, to rotation b.

This gives a relative rotation between the first and second quaternion rotations. Remember that order is important here!