Input: When did india gain independence from british rule?
Output: 

 When did india gain independence from british rule as measured by when the Indian Independence Act gained royal assent? 
 18 July 1947