It was proven during an eclipse. During an eclipse, the stars near the sun can be observed and thus calculate by how much the light beam from the stars are deviated due to the mass of the sun. Newtonian physics can calculate this, but is very inaccurate, usually half the actual answer.
Nowadays, highly precise atomic clock can be put onto air crafts and the slight time dilation is exactly the same as special relativity predicted.