Check the picture below, so that's the picture of a parabolic path with a certain initial velocity.
so anyhow, not to bore you to death, the maximum or peak point occurs at the vertex, as you see in the picture, and the x-coordinate is how long it took to get there.

