Check the picture below.
so if we just set h = 0, we'll get the "t" when that happened

now, let's notice that we get two valid values for "t", however the negative doesn't apply in this case, because we can't quite have negative seconds for the object in motion.