What's the best time to get vaccinated for influenza?

What’s the best time to get vaccinated for influenza?