You can buy your EuroMillions ticket up to a few hours before the draw. The official cutoff time is 20:30 CEST, but when you get the tickets online, you need to get them a couple of hours early.