For settlement on the second day, the trading hours are from 8:20am to 12:30pm. Therefore, any orders placed after 12:30pm will result in an error. For details, please refer to the "Hours" section on the JPX website below:
URL:
https://www.jpx.co.jp/english/equities/trading/tostnet/02.html