For any $s\in[0,T)$, the variance in question is 
$$\int_s^T f(t)^2\,dt.$$
This is shown just as in the case $s=0$.