Cnc buy sell at closing time

In zerodha, if a cnc buy and sell takes place for a stock between 3.20pm and 3.30pm, will it be like an intraday trade if the stock is already in demat ?

what so ever may be the case if same day purchase and sell or visa versa done in a scrip ( except of T and Z group ) it will be intra day transaction and your demat account will not come in picture .