By definition of fourier transform
$$X(w)=\int_{-\infty}^\infty x(t) e^{-jwt} dt $$
Now what will happen to the answer of transform for example in case of $x(t)= cos(w_ot)$ if limit is 0 to A instead of $-\infty$ to $\infty$?
For $x(t)=cos(w_ot)$ its fourier transform is given by $ X(w)= \pi[\delta(w-w_0) + \delta(w+w_o)]$
so if the limit is changed will it effect the answer?