Question: how long after your purchase can you buy applecare?
Answer: Generally you get 60 days from the purchase date to buy AppleCare+ (only 30 days if you're in Japan), and Apple has a page where you can check your exact device's eligibility.