This question already has an answer here:
I am travelling from Mumbai to Houston via London and have a valid US visa. I have to wait in London for 14 hours for my connecting flight. Some of my friends were saying transit visa is not required if the layover time is less that 24 hours and others say you should have one if you stay more than 12 hours. Could you please help me with issue.