How long it will take
You should get a decision on your visa within 3 weeks.
You can apply for a visa up to 3 months before your date of travel to the UK.
You can check the visa processing times to find out how long getting a visa might take in your country.