A particle moves along the \(x\)-axis so that its position at time \(t\) is given by \(x(t)=t^2-8t+7\). For what value of \(t\) is the velocity of the particle zero?