The time taken by a particle executing simple harmonic motion of time period T to move from the mean position to half the maximum displacement is
A. T/2
B. T/4
C. T/8
D. T/12