Concept:
For SHM,
\[
x=A\sin\theta
\]
and
\[
t=\frac{T}{2\pi}\theta.
\]
Step 1: Find the time taken from \(O\) to \(A/2\).
At
\[
x=\frac{A}{2},
\]
\[
\sin\theta=\frac12.
\]
Hence,
\[
\theta=\frac{\pi}{6}.
\]
Therefore,
\[
t_1
=
\frac{T}{2\pi}
\cdot
\frac{\pi}{6}
=
\frac{T}{12}.
\]
Step 2: Find the time taken from \(A/2\) to \(A\).
At
\[
x=A,
\]
\[
\theta=\frac{\pi}{2}.
\]
Thus,
\[
t_2
=
\frac{T}{2\pi}
\left(
\frac{\pi}{2}
-
\frac{\pi}{6}
\right)
\]
\[
=
\frac{T}{2\pi}
\cdot
\frac{\pi}{3}
\]
\[
=
\frac{T}{6}.
\]
Step 3: Calculate the difference.
\[
t_2-t_1
=
\frac{T}{6}
-
\frac{T}{12}
\]
\[
=
\frac{T}{12}.
\]
\[\begin{aligned}
\boxed{\frac{T}{12}}
\end{aligned}\]
Hence, option \(\mathbf{(D)}\) is correct.