Days to weeks
For many, it's just a few days.
For others, it can take a week or two. Side effects that persist for over a month on Atripla are unlikely to get better. If they're making your life unpleasant, it may be worth considering a switch at that point. Switching directly is much safer than stopping Atripla and restarting something else later, so talk to your doctor rather than stopping treatment.