You can place the order till 15 minutes before the closing of market.