$${t_h = -\frac{v_{0x} v_{0y}}{g_y v_{0x}} = - \frac{v_{0y}}{g_y}}$$