Every airline has its own set of restrictions on last-minute flights. In general, up to two hours prior to your scheduled departure time, you can reserve a flight.