the time is up to you and how you take care of it. If you are a shit head it never gets better, if you read this and do what you can then you can be back to light activity in 2weeks
http://sportsmedicine.about.com/od/surgeryrehab/a/Ankle_rehab_exercise.htm
Its important in the first 3 days to ice 30minutes every 2hours, keep it elevated and rest it, also compression if you have a way to.