When it comes to last minute flights, each airline has its own set of restrictions. In general, you can book a flight up to two hours before the flight's scheduled departure time.