While you may get lucky, the odds of finding a cheap same-day ticket are against you. Airlines these days are very good at revenue management, and they tend to raise fares on the last-minute business and emergency travelers. I would highly recommend you book in advance, even if it's just a few days in advance.