@JohnRennie That certainly makes sense, but it seems to disagree with that text from Wikipedia, and
the graph, which claims that at a certain altitude the gravitational time dilation exactly cancels the velocity time dilation, so that the time rate is in sync with time at the Earth's surface. I don't see how we can get that cancellation effect from your formula.