Hi Shruti,
The only thing I would add is 'en' is normally in (within)+ time and 'dans' is in +time (+ time)
e.g. Boire un verre de vin en 5 minutes n'est pas recommandé = To drink a glass of wine in (within) 5 minutes is not a good thing
Nous allons manger dans 20 minutes =we're going to eat in 20 minutes (time)
Hope this helps!