I am trying to compute the time it takes for two point masses to collid under gravity.

For example, consider two one kilogram masses 1 meter apart. Can someone give me a hint to compute the time it takes for the masses to collide.

I know how to find the velocity at which they will collide. That can be obtained by setting the initial gravitational potential energy to the kinetic energy of the two bodies. I could then solve for V.