We can't figure that out from the information provided. The only thing we can say for certain is that your latitude is no greater than 40.4 degrees north or south.
If that's your latitude, then this can only happen at Local Apparent Noon, when the Sun is highest in the sky.