Depends on your elite status, if you're 2P and up, and the time and route is not extra crowded, I would book 6-2 weeks before the flight time. Since UA's promo sometimes only good for 1 or 2 months, esp those 10% off coupon, which you can't refare with.