What was the date of independence of India during the British rule?

At midnight on 14 August 1947. Independence Day in India is therefore celebrated on 15 August.