Silly question - Is it better to send bday invitations a bit early (~ a month in advance) or 2 weeks from the date?

I usually aim for 3 weeks but I’m thinking school break will make that bad timing so I need to go one or the other. It’s an e-invite.

Thanks for helping me stop thinking about this